I guess I'm just too blind to see: What's the difference to enabling "Use smart tag switching scheme" (or was it "Use drop-down list" in Settings -> Environment -> Notebooks appearance and then pressing CTRL + TAB?!
With regards, Morten.
You can't do that with Ctrl-Tab unless you have a steel-trap memory.Alright! :D Thanks for the explanation - I had only two files open so -in fact- I have been blind. ;-)
[21:26:43.515]: ERROR: C:\DevSofts\CodeBlocks/share/codeblocks/plugins/BrowseTracker.dll: not loaded (missing symbols?)
Hi Pecan !
With SVN 4051 a 4066, a SDK version problem happens.Code[21:26:43.515]: ERROR: C:\DevSofts\CodeBlocks/share/codeblocks/plugins/BrowseTracker.dll: not loaded (missing symbols?)
What version do you use ?
Dje
But, also, the zip file contains the source and .cbp projects.
So you don't have to wait for me.
...
Some editors like vi, emacs, Textpad etc. have different buffer for copy and paste or a clipboard history. I think the same mechanism of browsetracker could be used to implement such a clipboard history.
...
Hi Pecan !
Did you intentionnally forget the Announcement for plugins/patches (http://wiki.codeblocks.org/index.php?title=Announcement_for_plugins/patches) page :?:
Dje
Hello Pecan
thanks for this fine plugin.
what do you think about to extend your plugin in order to save and browse the history
of all recent position(s) in all files even when the recent position(s) were in the same file,
e.g. when a Find Next/Previous , or Goto Line Number etc. were done before.
brgds, tiwag
Hello Pecan
thanks for this fine plugin.
what do you think about to extend your plugin in order to save and browse the history
of all recent position(s) in all files even when the recent position(s) were in the same file,
e.g. when a Find Next/Previous , or Goto Line Number etc. were done before.
brgds, tiwag
I really like that feature in other editors, please consider it. :)
- Ctrl+PgDn/Up (navigating between tabs)Anyway, is this customisable somehow? Because this functionality is (within IDE's) often used to switch to the previous / next method in a file. This includes C::B and e.g. Visual Studio.
void wxFlatNotebook::OnNavigationKey(wxNavigationKeyEvent& event)
I am capturing OnNavigationKey eventAh - ok... good to know. At least that's the starting point for further "research"... ;-) Thanks!Codevoid wxFlatNotebook::OnNavigationKey(wxNavigationKeyEvent& event)
which seems to react for these two combinations (Ctrl + PgUp/Dn & Ctr+Tab+(Shift)), so I guess this comes from the system settings, but I really dont know from where or how to change this.
I am capturing OnNavigationKey eventAh - ok... good to know. At least that's the starting point for further "research"... ;-) Thanks!Codevoid wxFlatNotebook::OnNavigationKey(wxNavigationKeyEvent& event)
which seems to react for these two combinations (Ctrl + PgUp/Dn & Ctr+Tab+(Shift)), so I guess this comes from the system settings, but I really dont know from where or how to change this.
http://developer.berlios.de/bugs/?func=detailbug&bug_id=11348&group_id=5358Thanks for that info. Well, we have a conflict now: Two functionalities fight for a hotkey. Which one is right? Both has to do with navigation. The pro for wxFNB is that it's "wxWidgets native" then, the pro for jumping to next/previous method is being compatible with major other IDE's (like Visual Studio). Which do we want?
That are actually defined by the OS as the "minor control navigation keys". They are sent to wxControlContainer, and from there to any class using the navigation event.
Ps: Can the keybinder plugin handle any re-association?! (I guess no.)
CC could then (as it does now) intercept the wxEVT_NAVIGATION_KEY if an option box is checked.It can't really. I have added a listener to this event in CC and it never gets called. This is because simply wxFNB "steals" this event already. I didn't realise this until now as I have switched to wx28 (in wx26 this worked properly). Now the CTRL+PGUP/PGDOWN simply is ignored for CC. This very much deceases my productivity... :-(
Now the CTRL+PGUP/PGDOWN simply is ignored for CC. This very much deceases my productivity... :-(Aaargh! I figured out why that was. I have switched from wx26 to wx28 today and (somehow) all the keybinder associations were broken. Thus suddenly the CTRL+P combination was assigned for both: Jump to previous and next method. I have deleted the keybinder config file and it works again. Anyway all the rest I mentioned is true.
Try to add event.Skip() at the end of the OnNavigationKey() of wxFNB.will do that.
Eran
Any special things to consider ?- If you mean in build process, you should try and built it with 2.8 & 2.6 - I myself uses 2.8 so I am not sure if I didn't break 2.6 builds (for example, wxRect::Contains() vs wxRect::Iside(), I attended theses issues, but still)
Try to add event.Skip() at the end of the OnNavigationKey() of wxFNB.This is in trunk now, nice.
BrowseTracker re-compiled for Linux wxGTK2.8.4.
Version 0.1.10 2007/08/2
- fixes for editor tracking with wxFlatNotebook 2.2 on Linux
- fix for non-focused selection dialog in wxGTK284
http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin
<Unit filename="Version.cpp" />
BrowseTracker 1.2.15 2007/12/4Thank you for repository. More usable for me.
http://code.google.com/p/cbbrowsetracker/
Hi,
I am using Codeblocks snapshot version CB_20071206_rev4711_win32 with mingwm10_gcc421 and wxmsw28u_gcc_cb_wx287. whenever i try to install BrowseTracker for CB i get below mentioned error and it fails to Load. Sorry if this is a repeated question. i use CB to work on ARM Compillers but this doesnt allow me to recompile the source. Please let me know how to recompile the code with some other toolchain.
C:\Editors\Code Blocks/share/codeblocks/plugins/BrowseTracker.dll: not loaded (missing symbols?)
The same also happens to me with Threadsearch Plugin
TIA
Regards
Gururaja
BrowseTracker 1.2.44 2007/12/16I used BT the first time today but found a nasty issue in the version:
BrowseTracker 1.2.44 2007/12/16I used BT the first time today but found a nasty issue in the version:
- open a workspace (project)
- open *one* file in a tab
- right-click in the source code -> select "BrowseTracker" -> "Backward Ed"
--> Result: An empty BT window opens that cannot be clicked away -> clicking anywhere does not help, ESC does not help -> the only way to get rid of this window it two times ALT+TAB (switching to another app and returning to C::B). I guess this can be considered as bug. ;-)
With regards, Morten.
- Fixed: Do not set Mark on double click.
BrowseTracker 1.2.57 2008/01/2Fails to compile on my machine due to the cbStyledTextCtrl refactoring. It's missing to include "cbstyledtextctrl.h" in:
BrowseTracker 1.2.57 2008/01/2Pecan, I want to thank you for the nice BrowseTracker plugin which I find very useful.
BrowseTracker 1.2.57 2008/01/2Fails to compile ...
BrowseTracker 1.2.57 2008/01/2...The BrowseTracker menu lists the operation: Sort BrowseMarks.
What does this operation do?
The Alt up/down arrows follow the marks in the order that the user placed them. Sorting causes the the Alt up/down to follow the marks in ascending or decending order of line numbers.I see now. Thanks.
BrowseTracker 1.2.64 2008/01/4I have serious issues with this plugin (recently). Whenever I try to import a Visual Studio solution C::B crashes. The reason is the BT plugin, file ProjectData.cpp, line 63 (m_ProjectFilename = pcbProject->GetFilename();). It seems pcbProject *is* NULL sometimes in the case of an import. So you better don't rely on it. I had to disable the BT plugin to be able to import VS solutions again. :-(
... It seems pcbProject *is* NULL sometimes in the case of an import. So you better don't rely on it. I had to disable the BT plugin to be able to import VS solutions again. :-(
...
Do you think it is possible to set the browsemarks on:
- highlighting text by double clicking on one word
- highlighting text with Shift+<left>/<right>
Additionally it would be nice to have an integration in the "find declaration / implementation"-functions. (and maybe in the ThreadSearch-plugin, too?): if the line with the search result is in the same file, you do not have the possibility to jump back to the line you entered the search value in.
Any maybe it is possible to add a BrowseMark in the same way as a bookmark, by left-clicking between the line numbers and the folding marks? This would make it easier to manually set the BrowseMarks!
...
Additionally it would be nice to have an integration in the "find declaration / implementation"-functions. (and maybe in the ThreadSearch-plugin, too?): if the line with the search result is in the same file, you do not have the possibility to jump back to the line you entered the search value in.
I don't understand this. On my system, when I mark a line before doing a search, I have no problem jumping back to it.
As for integration into the CodeCompletion plugin, I don't think I have the where-with-all to climb that mountain.
rev 43. Compile error: ToolBox.h: No such file or directoryAs a workaround for now: Please remove the "ToolBox" include and the member variable in that class. It won't do any harm, might be this is code has been forgotten to be removed (the member variable is not being used).
Check repository, please.
As a workaround for now: Please remove the "ToolBox" include and the member variable in that class. It won't do any harm, might be this is code has been forgotten to be removed (the member variable is not being used).As usual ;) you right. Thanks! No problems on compile now.
rev 43. Compile error: ToolBox.h: No such file or directory
Check repository, please.
what about still adding it to contribs ?? then it's part of the release ;-)
If you can provide me with a download link (zip file), with all the sources, project files, make files , preferably already on the level of contrib dir, I will try to get it in before we release ;-)
Pecan,
I just did an SVN update, to Rev 45, on your source code in
http://cbbrowsetracker.googlecode.com/svn/trunk/ and am still getting the ToolBox error discussed earlier.
Are you sure that you fixed the repo version? Maybe I am looking in the wrong place.
I just updated the .cpb files for the project. See if that's the problem.
One little nasty thing was the include of manager.h from wxAUI ;-)Pecan,
But it is dealt with, although it is not extremely nice.
Hi Pecan,
I have a little suggestion for Browse Tracker plugin. Since settings for Thread Search and other Plugins can be configured in Settings->Environment dialogue it would be nice to have also an entry for Browse Tracker there instead of the existing menu in View->Browse Tracker->Settings.
Bye,
Mario
i.e. when I open a file, it's always at the start of the file instead of the previous point where I was editing the file.
...<snip>...
My understanding was that BrowseTracker would keep track of the fact that main.cpp was opened to line 47 and return to that the next time I opened main.cpp (even after closing and re-opening the project). Perhaps I missunderstood the intent of BrowseTracker?
Also, your "misunderstanding" presents a good idea. I'll think on it.
Re-open the project and open:
Sources
-- emerge
----main.cpp (editor starts at the top of the file)
It looks like a focus issue. When I double click to open the file, the cursor line is selected, but the focus goes back to the file Management Pane, as a result the cursor line 'disappears'.
Turn on Settings->Editor->MouseDragScrolling->AutoFocusEditors
and see if that is more to your liking.
-------------- Générer: default dans BrowseTracker-unix ---------------
g++ -Wall -g -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -fPIC -DPIC -DNO_LOGGING -DNO_CB_PRECOMP -I../../../include -I../../../include/wxscintilla/include -c /home/gdurand/CodeBlocks_SVN/CodeBlocks_src/trunk/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp -o .objs/BrowseTracker.o
g++ -shared -L../../../devel .objs/BrowseMarks.o .objs/BrowseSelector.o .objs/BrowseTracker.o .objs/BrowseTrackerConfPanel.o .objs/BrowseTrackerLayout.o .objs/ConfigPanel.o .objs/ProjectData.o .objs/Version.o -o ../../../devel/share/codeblocks/plugins/libBrowseTracker.so -s -pthread -L/usr/X11R6/lib64 -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -lwxscintilla -lcodeblocks
In file included from ../../../include/sdk_common.h:40,
from /home/gdurand/CodeBlocks_SVN/CodeBlocks_src/trunk/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp:71:
../../../include/prep.h: In member function `ID::operator void*() const':
../../../include/prep.h:316: warning: cast to pointer from integer of different size
/home/gdurand/CodeBlocks_SVN/CodeBlocks_src/trunk/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp: In member function `wxString BrowseTracker::GetCBConfigFile()':
/home/gdurand/CodeBlocks_SVN/CodeBlocks_src/trunk/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp:2619: error: invalid use of undefined type `struct ConfigManager'
../../../include/manager.h:38: error: forward declaration of `struct ConfigManager'
/home/gdurand/CodeBlocks_SVN/CodeBlocks_src/trunk/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp:2619: error: `sdAllKnown' was not declared in this scope
/home/gdurand/CodeBlocks_SVN/CodeBlocks_src/trunk/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp:2619: warning: unused variable 'sdAllKnown'
Le processus s'est terminé avec le statut 1 (0 minutes, 7 secondes)
3 erreurs, 2 avertissements
...
Without BrowseTracker, SVN 5549 compiles normally with all plugins.
I have no problems with Windows version.
gd_on
I just can't get used to this BrowseTracker. There is a similar feature in IAR Embedded Codebench (or similar name), that's great.
The main differences are:
-there's no popup, just switch view on pressing ALT+Left/Right
-don't jump to the last editor, but to the last position - even if it's inside the same file;
that way you can simply press ALT+Left after e.g. jump to declaration and you're back, no matter if the jump switched files
-ALT+Right works as expected, e.g. undoing what the last ALT+Left did
Actually I couldn't find out yet what ALT+Right is supposed to do with the CB BrowseTracker.