ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
You may want to clarify what you mean by "undo and redo the views".
I have for example a code of 1000 lines.
In a concret moment im watching the part of the code that goes from line 275 to 327, Then i decide to go to other part of the code, for example to the beginning of the code (Ctrl+Home), i check whatever, and then what i would like is going again to the view that i had before (lines 275 to 327) for example with Shift + Ctrl + Z.
If I understand the question (and I may not) the OP is looking for a way, or an editor which has a way (like a keyboard shortcut) to jump to/from particular sections of the code in the editor. I believe something like setting a bookmark would address the issue, allowing the programmer to jump around to bookmarks set throughout the code.
Based on the OP's use of the term 'IDE' I am guessing that the programming language is a C variant.
If I understand the question (and I may not) the OP is looking for a way, or an editor which has a way (like a keyboard shortcut) to jump to/from particular sections of the code in the editor. I believe something like setting a bookmark would address the issue, allowing the programmer to jump around to bookmarks set throughout the code.
Yes, thats right. Dont you think that function would be usefull ??
Quote:
Originally Posted by GrapefruiTgirl
Based on the OP's use of the term 'IDE' I am guessing that the programming language is a C variant.
I dont understand this..
Last edited by tirengarfio; 07-23-2009 at 06:57 AM..
im wondering if is there any IDE which undo and redo the views of my code.
Ciao
The above is your first post. The use of 'IDE' to me implies you are working on C language code, but I'm guessing.
And yes, it does sound useful. Many text editors allow bookmarking through the code, but I personally don't do any programming in an IDE so I cannot suggest one that might let you bookmark.
Sasha
Last edited by GrapefruiTgirl; 07-23-2009 at 09:10 AM..
Reason: Spelt my own name worng :p
If you are willing to use a VERY different editor, Vim will do what you want. It DOES have a steep learning curve, but you can be at least as productive in VIM as in your current editor in a remarkably short time, and it can do way more than most editors with very little typing and without having to use the mouse.
Also sometimes called 'breadcrumbs'
Does anyone know how to do this in emacs by the way? It would be nice to be able to undo and redo the view changes in a particular window, similar to what you can do with edit changes.
For Emacs see Book Marks. Popping the mark can also be useful since many commands will set the mark before moving so you don't have to remember to put a bookmark in advance (see Mark Commands).
Last edited by ntubski; 07-23-2009 at 10:57 PM..
Reason: forgot word
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.