private static boolean isInsideTagBody(XmlTag contextTag, @NotNull Editor editor) {
    return contextTag.getValue().getTextRange().contains(editor.getCaretModel().getOffset());
  }
private static boolean isInsideTagBody(XmlTag contextTag, @NotNull Editor editor)