Swap X and Y coordinates in select-all command

This commit is contained in:
EnumDev committed 2026-09-30 13:23:18 +03:00
1 parent de64c1766f
commit d8161ac43d
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ func initCommands() {
lastLine := window.CurrentBuffer.Contents[len(window.CurrentBuffer.Contents)-1]
window.CurrentBuffer.Selection = &Selection{
selectionStart: Position{0, 0},
selectionEnd: Position{len(window.CurrentBuffer.Contents) - 1, len(lastLine) - 1},
selectionEnd: Position{len(lastLine), len(window.CurrentBuffer.Contents) - 1},
}
window.PrintMessage("Selected all text", TYPER_MESSAGE_INFO)