void () { int offset = tryGetConvenientOffsetForCaret(); if (offset != -1) { runCaretAndSelectionListeningTransparentCommand( () -> editor.getCaretModel().moveToOffset(offset)); reflectRealToTargetCaretPosition(); } else { LOG.info("[Large File Editor Subsystem] EditorModel.setCaretToConvenientPosition(): " + "Can't set caret to convenient position."); } }