LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 07-22-2009, 06:50 AM   #1
tirengarfio
LQ Newbie
 
Registered: Nov 2006
Posts: 25
Thanked: 0
Undo/redo code views ?


[Log in to get rid of this advertisement]
Hi,

im wondering if is there any IDE which undo and redo the views of my code.

Ciao
tirengarfio is offline  
Tag This Post , , , ,
Reply With Quote
Old 07-22-2009, 10:23 AM   #2
penguiniator
Member
 
Registered: Feb 2004
Location: Las Vegas, NV
Distribution: Kubuntu 8.04 until KDE4 no longer sucks
Posts: 223
Blog Entries: 2
Thanked: 9
You may want to clarify what you mean by "undo and redo the views".
penguiniator is offline     Reply With Quote
Old 07-23-2009, 06:04 AM   #3
tirengarfio
LQ Newbie
 
Registered: Nov 2006
Posts: 25
Thanked: 0

Original Poster
Quote:
Originally Posted by penguiniator View Post
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.

Do you understand me know?
tirengarfio is offline     Reply With Quote
Old 07-23-2009, 06:40 AM   #4
GrapefruiTgirl
Moderator
 
Registered: Dec 2006
Location: N.S.
Distribution: Slackware64
Posts: 4,218
Thanked: 177
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.

Have I got this right?

Sasha
GrapefruiTgirl is offline     Reply With Quote
Old 07-23-2009, 06:56 AM   #5
tirengarfio
LQ Newbie
 
Registered: Nov 2006
Posts: 25
Thanked: 0

Original Poster
Quote:
Originally Posted by GrapefruiTgirl View Post
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 View Post
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..
tirengarfio is offline     Reply With Quote
Old 07-23-2009, 07:01 AM   #6
GrapefruiTgirl
Moderator
 
Registered: Dec 2006
Location: N.S.
Distribution: Slackware64
Posts: 4,218
Thanked: 177
Quote:
Originally Posted by tirengarfio View Post
Hi,

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
GrapefruiTgirl is offline     Reply With Quote
Old 07-23-2009, 07:46 AM   #7
tirengarfio
LQ Newbie
 
Registered: Nov 2006
Posts: 25
Thanked: 0

Original Poster
Thanks, "bookmarking" is the word i was looking for...
tirengarfio is offline     Reply With Quote
Old 07-23-2009, 03:44 PM   #8
penguiniator
Member
 
Registered: Feb 2004
Location: Las Vegas, NV
Distribution: Kubuntu 8.04 until KDE4 no longer sucks
Posts: 223
Blog Entries: 2
Thanked: 9
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.
penguiniator is offline     Reply With Quote
Old 07-23-2009, 04:57 PM   #9
bannock
LQ Newbie
 
Registered: Jun 2009
Location: Toronto
Distribution: Ubuntu, Fedora
Posts: 24
Thanked: 3
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.
bannock is offline     Reply With Quote
Old 07-23-2009, 10:57 PM   #10
ntubski
Member
 
Registered: Nov 2005
Distribution: Debian
Posts: 697
Thanked: 50
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
ntubski is offline     Reply With Quote
Thanked by:

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
new hard drive, resized partitions, need to redo grub dcalki Linux - Newbie 6 09-30-2007 11:30 PM
Yum redo needed Lsatenstein Fedora 6 03-09-2007 07:03 PM
A command to redo my network connections? donJulio Slackware 3 09-17-2005 08:38 PM
partition mount redo 1speedjb Linux - Newbie 4 01-05-2005 10:38 AM
Stuff I need to redo when I reboot sammckee Linux - Newbie 3 09-27-2003 09:57 AM


All times are GMT -5. The time now is 04:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration