-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
internal editor bookmarks should be persistent (saved in filepos) #2287
Comments
|
proposed patch |
branch: 2287_persistent_bookmarks |
Replying to filipsef (#2287):
You know that ~/.mc/filepos file is shared for editor and viewer. If you will open file with saved bookmarks in viewer then saved bookmarks will be lost. |
Replying to filipsef:
1) open any_file.ext in mcedit |
maybe need to convert the number of rows into offsets of BOL for viewer. look at view->marks (it's bookmarks of the viewer) |
Replying to angel_il:
You're right. I see two options how to deal with this:
1) Ignore the possible problem and accept the patch as is
2) I can rewrite the patch to make your case work as expected :)
What do you think ? |
maybe
after open file in mcview save editor bookmarks into 'bookmarks' |
Check my second patch that works with mcview_remember_file_position=1
Note that it must be applied on top of the first one. |
|
|
Rebased. |
|
|
initial [90623032186acc02edc320ae06fce102983965ef] (forced update) |
initial [70d7c7076efbca255eb7be5541e09333cf8bd5f7] (forced update) |
Replying to filipsef: |
Merged: [3013a36] |
|
Important
This issue was migrated from Trac:
filipsef
(fsefrna@….com)I suggest making the internal editor bookmarks persistent by saving them in filepos.
Currently the bookmarks get lost after leaving the editor which makes them less usable.
Note
Original attachments:
filipsef
(fsefrna@….com) onJul 17, 2010 at 16:12 UTC
filipsef
(fsefrna@….com) onJul 20, 2010 at 21:08 UTC
The text was updated successfully, but these errors were encountered: