mirror of
https://github.com/EnumeratedDev/typer.git
synced 2026-11-01 11:31:48 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d8161ac43d
|
||
|
|
de64c1766f
|
No files matched your search
@@ -49,4 +49,7 @@ keybindings:
|
||||
command: "menu-buffers"
|
||||
- keybinding: "Ctrl-E"
|
||||
cursor_modes: ["buffer"]
|
||||
command: "execute"
|
||||
command: "execute"
|
||||
- keybinding: "Ctrl-A"
|
||||
cursor_modes: ["buffer"]
|
||||
command: "select-all"
|
||||
+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