restoring caret position when file re-opened

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
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".

Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!

restoring caret position when file re-opened

Postby MoeBass » Wed Oct 12, 2005 4:07 am

...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
if, no matter where you go, nothing seems to change, maybe it's time to look at what you're bringing with you.
MoeBass
 
Posts: 14
Joined: Sat Oct 08, 2005 11:31 pm
Location: southeast USA

Postby TheGreatCornh0lio » Wed Oct 12, 2005 9:29 am

Yes thats right, it's a very handy feature of my previous Editor.
<img src="http://www.cs.dartmouth.edu/~rockmore/rockmoreb.gif">
TheGreatCornh0lio
 
Posts: 15
Joined: Sat Oct 08, 2005 11:36 pm
Location: Austria

Postby Karlis » Wed Oct 12, 2005 4:07 pm

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.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
Karlis
Site Admin
 
Posts: 3601
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe

Postby mwb1100 » Wed Oct 12, 2005 5:42 pm

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.
mwb1100
 
Posts: 72
Joined: Thu Jun 02, 2005 8:00 am

!!!

Postby MoeBass » Thu Oct 13, 2005 4:59 am

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.

100 files? :shock: that's one monster editing session :!:
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.
MoeBass
 
Posts: 14
Joined: Sat Oct 08, 2005 11:31 pm
Location: southeast USA


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Feature Requests

Who is online

Users browsing this forum: No registered users and 58 guests