Author Topic: BrowseTracker plugin  (Read 54807 times)

Offline gd_on

  • Lives here!
  • ****
  • Posts: 520
Re: BrowseTracker plugin
« Reply #105 on: April 29, 2009, 02:23:46 pm »
Still not correct in linux :
you have at line 79 in BrowseTracker.cpp :
#include "configmanager.h

but it should be :
#include "configmanager.h"

last " is missing.
After this correction, it compiles.

Thanks.

gd-on
Windows 10, svn C::B (last version or almost!), WxWidgets 3.1.3, Compilers 8.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\MinGW64) or 32 bits (sjlj, posix in C:\MinGW32).

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5249
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: BrowseTracker plugin
« Reply #106 on: April 29, 2009, 02:25:51 pm »
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.


The behavior you want is like Visual Assist. All the edit position was recorded automatically, and it is easy to jump back after jump to declaration using ALT+left. (This behavior are very common, even in Acrobat reader, then I can use ALT+left/right to switch between nearly viewed PDF pages).

In current BowseTracker, you should use ALT+up/down to navigate in the same file.

For my person taste, I do suggest BrowseTracker can do this instead of holding down left mouse button to record a tracker position.  :D

I'm not sure Pecan can add this function to BrowseTracker.

Thank!
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.