bugfix: restore state after C-f (find)
[?]
Jun 3, 2022, 8:59 PM
NP7PIUBTR4K6SWJS46YZG3H2RYYNRGNEJMPV4I24TQXT5O3YT27QCDependencies
- [2]
TKFSYQ2Zup arrow to search previous - [3]
DHI6IJCNselecting text and deleting selections - [4]
Z4XRNDTRfind text - [5]
HOSPP2ANcrisp font rendering - [6]
AVTNUQYRbasic test-enabled framework - [7]
5FW7YOFThighlight selection while dragging - [8]
73OCE2MCafter much struggle, a brute-force undo - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
OTIBCAUJlove2d scaffold
Change contents
- replacement in text.lua at line 156
Cursor1.line = Search_backup_cursor1.lineCursor1.pos = Search_backup_cursor1.posCursor1.line = Search_backup.cursor.lineCursor1.pos = Search_backup.cursor.posScreen_top1.line = Search_backup.screen_top.lineScreen_top1.pos = Search_backup.screen_top.pos - replacement in text.lua at line 196
Cursor1.line = Search_backup_cursor1.lineCursor1.pos = Search_backup_cursor1.posCursor1.line = Search_backup.cursor.lineCursor1.pos = Search_backup.cursor.posScreen_top1.line = Search_backup.screen_top.lineScreen_top1.pos = Search_backup.screen_top.pos - replacement in main.lua at line 80
Search_backup_cursor1 = nil -- where to position the cursor if search term was not foundSearch_backup = nil -- stuff to restore when cancelling search - replacement in main.lua at line 252
Cursor1 = Search_backup_cursor1Search_backup_cursor1 = nilCursor1 = Search_backup.cursorScreen_top1 = Search_backup.screen_topSearch_backup = nil - edit in main.lua at line 258
Search_backup = nil - replacement in main.lua at line 273
Search_backup_cursor1 = {line=Cursor1.line, pos=Cursor1.pos}Search_backup = {cursor={line=Cursor1.line, pos=Cursor1.pos}, screen_top={line=Screen_top1.line, pos=Screen_top1.pos}}