@Override
      public void documentChanged(@NotNull DocumentEvent e) {
        validateEditVariablesButton();

        myTemplate.setString(myTemplateEditor.getDocument().getText());
        applyVariables(updateVariablesByTemplateText());
        myNodeChanged.run();
      }
@Override
      public void documentChanged(@NotNull DocumentEvent e)