A pair of buttons in the toolbar, allowing the navigation to the "last edit position" or the "next edit [...]
Good news! Look for the bookmarks feature already implemented in C::B. Menu "Edit" -> "Bookmarks".
There are also shortcuts to quickly jump to a bookmark inside the editor...
With regards, Morten.
Thanks for your response, but I think I have explained myself badly. I'm aware of bookmarks capabilities of Code::Blocks, but I was looking for a feature similar to the already implemented on web browsers: going back and forth between web pages visited (in Code::Blocks, this translates to navigate between pieces of code I have recently edited) with two buttons on the toolbar (top left corner on Firefox). The browser AUTOMATICALLY remembers the latest visited pages, without the need of manually setting a bookmark (The "bookmarks" menu entry function on Firefox and "Edit"->"Bookmarks" on Code::Blocks are meant only to explicitly and manually setting a bookmark).
From a programmer's perspective, I think this could be implemented reusing the existing code for bookmarks. Code::Blocks could AUTOMATICALLY set internal (not visible) bookmarks, remembering the latest 20th edited positions in code. Thus, Code::Blocks could have two lists of bookmarks: "user" bookmarks (manually set, at user's will, and already implemented) and "reciently visited positions" bookmarks (automatically set, and with a limited scope remembering the "n" last visited positions).