boolean (@NotNull Editor editor, int offset, boolean isCamel) { CharSequence chars = editor.getDocument().getCharsSequence(); return isWordEnd(chars, offset, isCamel) || !isWordStart(chars, offset, isCamel) && isLexemeBoundary(editor, offset); }