e96464ec79d853b5e093a5ef0e15c32fbdafb467
A relaunch session always re-opened the last edited file, even when the app was closed sitting on the browser page. The snapshot now records which page the app was on (SessionState.InBrowser/BrowserPath); the cmd layer lands back in the browser at the saved directory on relaunch (falling back to the startup directory if it has vanished) instead of calling BeginRestore. Browser-page snapshots clear File, which also makes the editor->browser transition an urgent save, so the back-in-browser state hits disk immediately. Legacy session files (no InBrowser key) unmarshal to false and restore the editor exactly as before. Verified on emulator and phone: editor sessions still restore the file (cursor/scroll/font), browser sessions land in the browser at the saved dir; legacy files keep the old behavior. New e2e regression test TestRestore_BrowserPageSession.
Description
A simple, high performance text editor.
50 MiB
Languages
Go
92.7%
Shell
4.7%
Java
1.1%
C
0.8%
Python
0.7%