How does session memory work??
Posted: 05 Aug 2021 00:54
I'm confused about how RJTE remembers what 'last accessed' files are...
So here's my situation:
1. I had opened derbar.cpp and derbar.rc in RJTE, from the command line... I had then closed/re-opened the editor, and it had remembered all settings for both files, including bookmarks.
2. I had then opened another text file, looked at it for awhile, then closed it.
3. awhile after that, I used my Windows-based visual-grep program to open another file (top.listview.cpp, in case it matters later).
So then, I closed RJTE, changed back to the DerBar directory, and ran TextEd with no arguments
(I have 'Reopen last open documents at startup' enabled)
but it *only* opened the text file that I had previously opened and closed, *not* the other files that I had open...
*Then* I went back to my visual-grep program, clicked on top.listview.cpp in the results list, to open it again, and RJTE opened with *all* of the previously opened files!! and all my bookmarks, cursor positions, etc, were retained!!! This was actually what I expected to have happen, when I ran TextEd with no arguments, from the first directory.
This is very unexpected behavior!! I need to know where these stati are saved, and how I control this... I am *very* confused!!!
So here's my situation:
1. I had opened derbar.cpp and derbar.rc in RJTE, from the command line... I had then closed/re-opened the editor, and it had remembered all settings for both files, including bookmarks.
2. I had then opened another text file, looked at it for awhile, then closed it.
3. awhile after that, I used my Windows-based visual-grep program to open another file (top.listview.cpp, in case it matters later).
So then, I closed RJTE, changed back to the DerBar directory, and ran TextEd with no arguments
(I have 'Reopen last open documents at startup' enabled)
but it *only* opened the text file that I had previously opened and closed, *not* the other files that I had open...
*Then* I went back to my visual-grep program, clicked on top.listview.cpp in the results list, to open it again, and RJTE opened with *all* of the previously opened files!! and all my bookmarks, cursor positions, etc, were retained!!! This was actually what I expected to have happen, when I ran TextEd with no arguments, from the first directory.
This is very unexpected behavior!! I need to know where these stati are saved, and how I control this... I am *very* confused!!!