void addTextChangeListener(final @NotNull Runnable runnable) {
    myLocationField.getTextField().getDocument().addDocumentListener(new DocumentListener() {
      @Override
      public void insertUpdate(DocumentEvent e) {
        runnable.run();
      }

      @Override
      public void removeUpdate(DocumentEvent e) {
        runnable.run();
      }

      @Override
      public void changedUpdate(DocumentEvent e) {
        runnable.run();
      }
    });
  }
void addTextChangeListener(final @NotNull Runnable runnable)