Description
Home/End now move to the start/end of the current line (great!), but Ctrl+Home and Ctrl+End do nothing. In most desktop editors these jump to the very start / very end of the whole document.
Expected
- Ctrl+Home → move cursor to the start of the document.
- Ctrl+End → move cursor to the end of the document.
- With Shift held, extend the selection to that point.
Notes / likely area
handleHome / handleEnd in src/commonMain/kotlin/com/darkrockstudios/texteditor/input/TextEditorKeyCommandHandler.kt:280-300 currently move to line start/end and ignore isCtrlPressed. Add the Ctrl branch to move to document start/end (mirroring how the arrow handlers branch on isCtrlPressed for word movement), and reuse updateSelectionForCursorMovement for the Shift variant.
Reported by a user of the Hammer editor.
Description
Home/End now move to the start/end of the current line (great!), but Ctrl+Home and Ctrl+End do nothing. In most desktop editors these jump to the very start / very end of the whole document.
Expected
Notes / likely area
handleHome/handleEndinsrc/commonMain/kotlin/com/darkrockstudios/texteditor/input/TextEditorKeyCommandHandler.kt:280-300currently move to line start/end and ignoreisCtrlPressed. Add the Ctrl branch to move to document start/end (mirroring how the arrow handlers branch onisCtrlPressedfor word movement), and reuseupdateSelectionForCursorMovementfor the Shift variant.Reported by a user of the Hammer editor.