Keep defined bookmarks saved even after closing the file
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Keep defined bookmarks saved even after closing the file
It would be great to have the functionality of keeping the defined bookmarks even after reopenning a file, as a preferences option.
The implementation could be, by keeping in a history file, the filename and the line numbers where bookmarks were defined for each file.
The implementation could be, by keeping in a history file, the filename and the line numbers where bookmarks were defined for each file.
This would be metadata. Again, various uses have been proposed for such a thing, and there's already a thread on the various strategies of how to store it.
Actually, I kinda like this enhancement request. It sounds like it'd be simple to implement, though it would require the use of metadata. Even Visual Studio doesn't do this ... I sometimes find myself marking "interesting" lines with breakpoints (in Visual Studio), just so that they will still be there next time I open the file!
Actually, I kinda like this enhancement request. It sounds like it'd be simple to implement, though it would require the use of metadata. Even Visual Studio doesn't do this ... I sometimes find myself marking "interesting" lines with breakpoints (in Visual Studio), just so that they will still be there next time I open the file!
Wow! Just tried that myself. MudGuard is correct. It's amazing how many amazing extra features this innocent looking editor already has under its hood. Thanks for pointing that out MudGuard.
To get it to work, you have to save a workspace (which is where the metadata goes, obviously...). To reload, opening the file alone is not sufficient - you have to re-open the workspace.
Well, mpneil, I'll bet you never expected this one to be done QUITE that quickly....?
To get it to work, you have to save a workspace (which is where the metadata goes, obviously...). To reload, opening the file alone is not sufficient - you have to re-open the workspace.
Well, mpneil, I'll bet you never expected this one to be done QUITE that quickly....?
I am sorry but it is not what i asked.
If i close the file and reopen it , then all my defined bookmarks are not there any more, even the current workspace is allways open and active.
So if this metadata is saved in the workspace, it is a pity not to use it again when reopening the file. Or may be it is not keeped in the workspace so where it is keept it should be reused to reopen all the saved bookmarks.
If i close the file and reopen it , then all my defined bookmarks are not there any more, even the current workspace is allways open and active.
So if this metadata is saved in the workspace, it is a pity not to use it again when reopening the file. Or may be it is not keeped in the workspace so where it is keept it should be reused to reopen all the saved bookmarks.
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
MudGuard's solution is the method that most of us use, I believe.
1. Open your files.
2. Save them as a workspace.
3. Edit, make bookmarks, as desired.
4. Do File/Workspace/Save will keep those open files, in current status.
5. If want to change contents of which files are in workspace, then use /Workspace/SaveAs...
If you open file outside of workspace, bookmarks will be lost. You must open the workspace which will open the file with the bookmarks.
1. Open your files.
2. Save them as a workspace.
3. Edit, make bookmarks, as desired.
4. Do File/Workspace/Save will keep those open files, in current status.
5. If want to change contents of which files are in workspace, then use /Workspace/SaveAs...
If you open file outside of workspace, bookmarks will be lost. You must open the workspace which will open the file with the bookmarks.
Hope this was helpful.............good luck,
Bob
Bob