...it would be nice for the caret (text cursor) to remain at the position it was in each source file being re-loaded that it was when the editor was closed, instead of just being on first line of the file(s).
Thank you.
-Moe
restoring caret position when file re-opened
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
- Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
- Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
- Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
restoring caret position when file re-opened
if, no matter where you go, nothing seems to change, maybe it's time to look at what you're bringing with you.
-
- Posts: 15
- Joined: Sat Oct 08, 2005 11:36 pm
- Location: Austria
Karlis:
At least one editor I have stores per-file persistent state - including undo information - in an alternate stream of the file (if the file is on an NTFS partition).
I'm not sure of all of the impacts of doing something like this other than the obvious one (doesn't work on FAT/FAT32 partitions), but it might be something for you to think about.
At least one editor I have stores per-file persistent state - including undo information - in an alternate stream of the file (if the file is on an NTFS partition).
I'm not sure of all of the impacts of doing something like this other than the obvious one (doesn't work on FAT/FAT32 partitions), but it might be something for you to think about.
!!!
100 files?admin wrote:This would be possible for some 10 or 100 last files but not for every file. I'm surprised but this has not been requested before.


I've had maybe 12-13 files open at one instance when i closed the editor and only those files which were open when the editor was exited would be the ones I cared about having cursor location preserved for.
Implementation idea:
A) when launching editor, read stored config info, re-open previous open files, position cursor respectively per file as their opened, clear stored config info.
B) when exiting editor, store to config info each open file reference along with cursor position for each, proceed with shutdown.
Thanks,
-Moe
if, no matter where you go, nothing seems to change, maybe it's time to look at what you're bringing with you.