@Nullable
  public static TextRange getWordSelectionRange(@NotNull CharSequence editorText, int cursorOffset,
                                                @NotNull CharCondition isWordPartCondition) {
    return getWordOrLexemeSelectionRange(null, editorText, cursorOffset, isWordPartCondition);
  }
@Nullable
  public static TextRange getWordSelectionRange(@NotNull CharSequence editorText, int cursorOffset,
                                                @NotNull CharCondition isWordPartCondition)