ctrl+a: select entire buffer
[?]
Nov 19, 2022, 8:11 AM
BH7BT36LM3D7HF3GOHXUPVNKLJ5LFJHOHRLD3KTC5HA627M3II4ACDependencies
- [2]
KMSL74GAsupport selections in the source editor - [3]
S2MISTTMadd state arg to a few functions - [4]
LF7BWEG4group all editor globals - [5]
UHB4GARJleft/right margin -> left/right coordinates - [6]
LNUHQOGHstart passing in Editor_state explicitly - [7]
KKMFQDR4editing source code from within the app - [8]
2L5MEZV3experiment: new edit namespace - [*]
FS2ITYYHrecord a known issue - [*]
UEE5W7WJdocument one more shortcut
Change contents
- replacement in source_edit.lua at line 314
chord ~= 'C-c' and chord ~= 'C-x' and chord ~= 'backspace' and backspace ~= 'delete' and not App.is_cursor_movement(chord) thenchord ~= 'C-a' and chord ~= 'C-c' and chord ~= 'C-x' and chord ~= 'backspace' and backspace ~= 'delete' and not App.is_cursor_movement(chord) then - edit in source_edit.lua at line 420
elseif chord == 'C-a' thenState.selection1 = {line=1, pos=1}State.cursor1 = {line=#State.lines, pos=utf8.len(State.lines[#State.lines].data)+1, posB=nil} - replacement in edit.lua at line 304
chord ~= 'C-c' and chord ~= 'C-x' and chord ~= 'backspace' and backspace ~= 'delete' and not App.is_cursor_movement(chord) thenchord ~= 'C-a' and chord ~= 'C-c' and chord ~= 'C-x' and chord ~= 'backspace' and backspace ~= 'delete' and not App.is_cursor_movement(chord) then - edit in edit.lua at line 381
elseif chord == 'C-a' thenState.selection1 = {line=1, pos=1}State.cursor1 = {line=#State.lines, pos=utf8.len(State.lines[#State.lines].data)+1} - edit in README.md at line 32[11.91][3.210405]
* mouse drag or `shift` + movement to select text, `ctrl+a` to select all