@Override
  public @NotNull JsonPathId handleContentChange(@NotNull JsonPathId element, @NotNull TextRange range,
                                                 String newContent) throws IncorrectOperationException {
    var replacement = range.replace(element.getText(), newContent);

    ASTNode node = element.getNode();
    ((LeafElement)node.getFirstChildNode()).replaceWithText(replacement);

    return element;
  }
@Override
  public @NotNull JsonPathId handleContentChange(@NotNull JsonPathId element, @NotNull TextRange range,
                                                 String newContent)