source: remember cursor position of multiple files
[?]
Sep 19, 2022, 7:10 AM
L2FWWEQLZPZLGTI34PWW2V6BU5PRDHFTZPTJJQYGG4R6WOFJ273QCDependencies
- [2]
RQUVBX62filter candidates in file navigator - [3]
C7OO4H3Ssource: support only relative paths within the app - [4]
MKPXANB5bugfix: mouse clicks on file navigator above log browser side - [5]
KKMFQDR4editing source code from within the app - [6]
JMUD7T3Oget rid of ugly side-effects in tests - [7]
OI4FPFINsupport drawings in the source editor - [8]
NFI42KGXmore correct absolute path detection - [9]
X3CQLBTRset window title within each app - [10]
ZJOSQFN6bugfix: path munging on Windows - [11]
BYKXF3YYbugfix: draw menu after everything else - [12]
B4JEWKWIhide editor cursor while in file navigator
Change contents
- edit in source.lua at line 48
cursors = {}, -- filename to cursor1, screen_top1 - edit in source.lua at line 218
-- save cursor positionFile_navigation.cursors[Editor_state.filename] = {cursor1=Editor_state.cursor1, screen_top1=Editor_state.screen_top1} - replacement in source.lua at line 224
Editor_state.screen_top1 = {line=1, pos=1}Editor_state.cursor1 = {line=1, pos=1}if File_navigation.cursors[filename] thenEditor_state.screen_top1 = File_navigation.cursors[filename].screen_top1Editor_state.cursor1 = File_navigation.cursors[filename].cursor1elseEditor_state.screen_top1 = {line=1, pos=1}Editor_state.cursor1 = {line=1, pos=1}end - replacement in source.lua at line 272
print(Editor_state.filename)File_navigation.cursors[Editor_state.filename] = {cursor1=Editor_state.cursor1, screen_top1=Editor_state.screen_top1} - replacement in source.lua at line 278
screen_top=Editor_state.screen_top1, cursor=Editor_state.cursor1,cursors=File_navigation.cursors,