vim-engine/src/main/kotlin/com/maddyhome/idea/vim/action/motion/updown/MotionGotoLineLastEndAction.kt [37:51]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - override fun getOffset( editor: VimEditor, caret: ImmutableVimCaret, context: ExecutionContext, argument: Argument?, operatorArguments: OperatorArguments, ): Motion { var allow = false if (editor.isInsertionAllowed) { allow = true } else if (editor.inVisualMode) { allow = injector.options(editor).selection != "old" } return moveCaretGotoLineLastEnd(editor, operatorArguments.count0, operatorArguments.count1 - 1, allow).toMotion() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - vim-engine/src/main/kotlin/com/maddyhome/idea/vim/action/motion/updown/MotionGotoLineLastEndAction.kt [61:75]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - override fun getOffset( editor: VimEditor, caret: ImmutableVimCaret, context: ExecutionContext, argument: Argument?, operatorArguments: OperatorArguments, ): Motion { var allow = false if (editor.isInsertionAllowed) { allow = true } else if (editor.inVisualMode) { allow = injector.options(editor).selection != "old" } return moveCaretGotoLineLastEnd(editor, operatorArguments.count0, operatorArguments.count1 - 1, allow).toMotion() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -