mirror of
https://github.com/EnumeratedDev/typer.git
synced 2026-10-31 11:31:48 +00:00
Swap X and Y coordinates in select-all command
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user