simplify saving settings
[?]
Jul 11, 2023, 12:14 AM
SBR7ARVH4KH4JXIKO23HYLAKGOM5TCSNTI3UDD3Z3WOCOALZDTJQCDependencies
- [2]
EMG7SDLWbugfix: cold start - [3]
L2FWWEQLsource: remember cursor position of multiple files - [4]
5RDWSYK2consistently use App names for methods everywhere - [5]
ZJOSQFN6bugfix: path munging on Windows - [6]
SW7BSBMJseveral bugfixes in saving/loading cursor position - [7]
CQYKYJJUremember window positions across restart/ctrl+e - [8]
C7OO4H3Ssource: support only relative paths within the app - [9]
NFI42KGXmore correct absolute path detection - [10]
OMLASW7Kexperiment at avoiding some merge conflicts - [11]
KKMFQDR4editing source code from within the app - [12]
JMUD7T3Oget rid of ugly side-effects in tests
Change contents
- replacement in source.lua at line 276[5.173727]→[5.173727:173809](∅→∅),[5.173809]→[5.478:573](∅→∅),[5.297]→[5.174094:174206](∅→∅),[5.647]→[5.174094:174206](∅→∅),[5.174094]→[5.174094:174206](∅→∅)
if Current_app == 'source' then--? print('reading source window position')Settings.source.x, Settings.source.y, Settings.source.displayindex = App.screen.position()end--? print('saving source settings', Settings.source.x, Settings.source.y, Settings.source.displayindex)Settings.source.x, Settings.source.y, Settings.source.displayindex = App.screen.position() - edit in run.lua at line 155
endif Current_app == 'run' thenSettings.x, Settings.y, Settings.displayindex = App.screen.position() - edit in run.lua at line 156
Settings.x, Settings.y, Settings.displayindex = App.screen.position()