Code::Blocks Forums
User forums => Help => Topic started by: ollydbg on May 31, 2009, 09:00:29 am
-
Hi, I find that a bookmark symbol will always exist in my main.cpp file. see the screen shot. Even I toggle off this bookmark and close my workplace. Reopen the cbp file, it is there again. :shock: I'm using Windows XP, and the latest SVN version build my self.
Any suggestions? Thanks.
[attachment deleted by admin]
-
first question : did you put the bookmark there yourself,or did it appear there through some other actions (then the appearance itself would already be a bug).
-
If I can remember, I haven't put it there.
It seems this symbol always happens in the last line of file. I turn off the bookmark, and edit my main.cpp.
After reopen the project, this icon appeared again :(, see the screen shot below.
[attachment deleted by admin]
-
Do you have BrowseTracker enabled ?
If yes, is it configured to use Bookmarks instead of BrowseMarks ?
If yes, try to delete it via "ContextMenu -> BrowseTracker -> Clear BrowseMark".
If it's gone now, it's an interference between BrowseTracker using BookMarks as symbols and the Bookmarks used by the cbEditor.
-
Do you have BrowseTracker enabled ?
Thanks for your help. Yes, I have BrowseTracker enabled.
If yes, is it configured to use Bookmarks instead of BrowseMarks ?
It is configured as "BrowseMarks".
If yes, try to delete it via "ContextMenu -> BrowseTracker -> Clear BrowseMark".
It seems this symbol can't be cleared by "clear browseMark", See the screen shot below, BrowseMarks were "three points like" symbols, I believe it is a "bookmark" symbol.
If it's gone now, it's an interference between BrowseTracker using BookMarks as symbols and the Bookmarks used by the cbEditor.
So, it is still there. :(
For another test, things become more confusing.
I add two browsemarks before bookmark(screen shot 1)and close my project, but after reopened it, another bookmark appeared at the same position of the second browsemark(screen shot 2).
[attachment deleted by admin]
-
You can try to disable BrowseMarks plugin and see if it is gone then.
Or try what happens, if you delete the appropriate "*.bmarks"-file (you might want to have alook inside it before, to see if it can be related to your issue).
-
Thanks.
After disabling the "BrowseTracker plugin" and a reopen my project, all symbols were gone.
Here is the my **.bmarks
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<BrowseTracker_layout_file>
<ActiveTarget name="Debug" />
<File name="main.cpp" open="1" top="1" tabpos="1">
<Cursor position="704" topLine="2" />
<BrowseMarks positions="698,660" />
<Book_Marks positions="5798,698,698" />
</File>
</BrowseTracker_layout_file>
So, both BrowseMarks and Book_Marks were recorded in this file.
If I remove the *.bmarks, and enabled the BrowseTrack plugin, I randomly add some bookmarks and browsemarks,
after testing...
I found that only "BrowseMarks" can be recorded in this *.bmarks file. So, that may be the cause of my problem.
Thanks.
-
Thanks.
After disabling the "BrowseTracker plugin" and a reopen my project, all symbols were gone.
...
So, both BrowseMarks and Book_Marks were recorded in this file.
If I remove the *.bmarks, and enabled the BrowseTrack plugin, I randomly add some bookmarks and browsemarks,
after testing...
I found that only "BrowseMarks" can be recorded in this *.bmarks file. So, that may be the cause of my problem.
Thanks.
I've seen this happen when the options for BrowseMarks only and BrowseMarks==BookMarks were switch back and forth. But was never able to reproduce the problem. It has something to do with a combination of switching and opening/closing the file.
However, a sort, a clearAll, then a project close while the file is still open should have cleared the problem.
-
Thanks, my original problem disappeared.
The new problem is like I said before, it seems "bookmarks" weren't be recorded. If I set several bookmarks, then close the project, I will give the *.bmarks file like below:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<BrowseTracker_layout_file>
<ActiveTarget name="Debug" />
<File name="main.cpp" open="1" top="1" tabpos="1">
<Cursor position="572" topLine="0" />
<BrowseMarks positions="465,657" />
<Book_Marks positions="" />
</File>
</BrowseTracker_layout_file>
Note: Book_Marks positions=""
Thanks.
-
Thanks, my original problem disappeared.
The new problem is like I said before, it seems "bookmarks" weren't be recorded. If I set several bookmarks, then close the project, I will give the *.bmarks file like below:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<BrowseTracker_layout_file>
<ActiveTarget name="Debug" />
<File name="main.cpp" open="1" top="1" tabpos="1">
<Cursor position="572" topLine="0" />
<BrowseMarks positions="465,657" />
<Book_Marks positions="" />
</File>
</BrowseTracker_layout_file>
Note: Book_Marks positions=""
Thanks.
BookMarks are never saved unless the Mark_Style options is set.