@Override
  public boolean isEditable() {
    // Prevent `javax.swing.text.JTextComponent.processInputMethodEvent` from handling
    // input method events by default Swing logic for viewer editors.
    return !editor.isViewer();
  }
@Override
  public boolean isEditable()