void (@NotNull DocumentEvent e) { QuickList item = itemPanel.item; if (item != null) { String name = itemPanel.myName.getText(); boolean changed = !item.getName().equals(name); item.setName(name); if (changed) { editor.getList().repaint(); } } }