Bug 70698 - Add column to bookmark plugin to display code line
Summary: Add column to bookmark plugin to display code line
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: bookmarks part (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-17 18:50 UTC by Jon Smirl
Modified: 2003-12-17 20:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Smirl 2003-12-17 18:50:22 UTC
Version:           CVS (using KDE Devel)
Installed from:    Compiled sources

It would be nice to have a second column in the bookmark plugin which displays the text from the line bookmarked. This should be easy to implement since the text has already been saved to implement the popup display. Adding the single line of text as a column makes it possible to quickly visually scan for the right bookmark.
Comment 1 Jens Dagerbo 2003-12-17 19:00:09 UTC
You have noticed the bookmark settings in the project settings dialog, right?

It is now possible to have the bookmarked line visible next to the line number. That should be enough, right?
Comment 2 Jon Smirl 2003-12-17 19:27:36 UTC
This is probably a bug then. I thought the feature was missing, but it does start working if I exit and restart kdevelop.
Comment 3 Jens Dagerbo 2003-12-17 19:59:00 UTC
I can't reproduce that. The change should take effect immediately. Maybe you are fooled by the fact that the text is only captured when a bookmark in the file changes? In other words, existing bookmarks does not get their text updated when this setting changes. This is mostly because I felt it unnecessary as the bookmarks are getting recreated all the time anyway..

I'm closing this wishlist item. Please file a bug report if you feel there really is one.
Comment 4 Jon Smirl 2003-12-17 20:06:13 UTC
I have the bookmark plugin open. Now I add and delete bookmarks in the file I'm editing. I see no update in the bookmark window. Is it supposed to update in real-time to match the current state of bookmarks?

If I unload and reload the bookmark plugin, I see the current bookmarks. 
Comment 5 Jens Dagerbo 2003-12-17 20:19:10 UTC
Yes, as soon (after a short delay) it detects a changed bookmark in a file, all bookmark entries in the list will be recreated and should update their content line. I've never seen it fail to do this.. something strange is going on.

What editorpart are you using?
Comment 6 Jon Smirl 2003-12-17 20:22:42 UTC
Kate editor.

I deleted a couple of bookmark and they haven't disappear after about a minute delay.
Comment 7 Jon Smirl 2003-12-17 20:25:02 UTC
My build was about five days old. I just finished building with current CVS and things are now working as expected. Bookmarks disappear/reappear as expected.