@Override
    public @NotNull List<TextRange> ranges(String string) {
      return List.of(TextRange.create(0, string.endsWith("\n") ? string.length() - 1 : string.length()));
    }
@Override
    public @NotNull List<TextRange> ranges(String string)