boolean (@NotNull Editor editor, int endOffset, int off, int indentColumn) { CaretModel caretModel = editor.getCaretModel(); int caretOffset = caretModel.getOffset(); return caretOffset >= off && caretOffset < endOffset && caretModel.getLogicalPosition().column == indentColumn; }