Author Topic: How to go back to last position in source code?  (Read 13919 times)

Offline lazy_fox

  • Single posting newcomer
  • *
  • Posts: 9
How to go back to last position in source code?
« on: April 08, 2009, 03:37:09 pm »
When I reading source code, I go to the implement of a function, but how can I go back to the last position of the caller?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: How to go back to last position in source code?
« Reply #1 on: April 08, 2009, 03:42:51 pm »
Enable Source Track plugin.
And use alt+ arrow to move your caret.
I have asked this kind of question on this forum before, just search.
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.

Offline lazy_fox

  • Single posting newcomer
  • *
  • Posts: 9
Re: How to go back to last position in source code?
« Reply #2 on: April 09, 2009, 02:28:58 am »
Enable Source Track plugin.
And use alt+ arrow to move your caret.
I have asked this kind of question on this forum before, just search.

Where can I find "Source Track plugin"?
Thanks...

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: How to go back to last position in source code?
« Reply #3 on: April 09, 2009, 02:35:34 am »
Enable Source Track plugin.
And use alt+ arrow to move your caret.
I have asked this kind of question on this forum before, just search.

Where can I find "Source Track plugin"?
Thanks...
Select it when you install codeblocks 8.02.
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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: How to go back to last position in source code?
« Reply #4 on: April 09, 2009, 07:02:51 am »
It's called BrowseTracker.

Offline mmkider

  • Almost regular
  • **
  • Posts: 150
Re: How to go back to last position in source code?
« Reply #5 on: April 09, 2009, 10:00:33 am »
When I reading source code, I go to the implement of a function, but how can I go back to the last position of the caller?

http://forums.codeblocks.org/index.php/topic,9886.0.html

Maybe you can use this plug-in(tracebar plugin).

good luck.

Offline lazy_fox

  • Single posting newcomer
  • *
  • Posts: 9
Re: How to go back to last position in source code?
« Reply #6 on: April 10, 2009, 05:50:36 pm »
When I reading source code, I go to the implement of a function, but how can I go back to the last position of the caller?

http://forums.codeblocks.org/index.php/topic,9886.0.html

Maybe you can use this plug-in(tracebar plugin).

good luck.


I can't find the download entrance.
Please get me a direct link, thanks.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: How to go back to last position in source code?
« Reply #7 on: April 11, 2009, 09:01:28 am »
When I reading source code, I go to the implement of a function, but how can I go back to the last position of the caller?

http://forums.codeblocks.org/index.php/topic,9886.0.html

Maybe you can use this plug-in(tracebar plugin).

good luck.


I can't find the download entrance.
Please get me a direct link, thanks.
http://forums.codeblocks.org/index.php/topic,9886.msg69114.html#msg69114
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.

Offline lazy_fox

  • Single posting newcomer
  • *
  • Posts: 9
Re: How to go back to last position in source code?
« Reply #8 on: April 11, 2009, 03:21:57 pm »
When I reading source code, I go to the implement of a function, but how can I go back to the last position of the caller?

http://forums.codeblocks.org/index.php/topic,9886.0.html

Maybe you can use this plug-in(tracebar plugin).

good luck.


I can't find the download entrance.
Please get me a direct link, thanks.
http://forums.codeblocks.org/index.php/topic,9886.msg69114.html#msg69114

I found it. But I don't know how to import this TraceBar?
I use Linux, and download both TraceBarSrc.zip and TraceBarbin.zip.

Offline lazy_fox

  • Single posting newcomer
  • *
  • Posts: 9
Re: How to go back to last position in source code?
« Reply #9 on: April 11, 2009, 03:52:44 pm »
I can't build TraceBar, see the following pic

[attachment deleted by admin]