Have you ever been working on a bit of code, or writing a document, and then find that you need to jump elsewhere to check something out. You’ll move the cursor away from your edit position, and you’ll lost where you are and have to spend time finding where it was. Maybe not much, but enough to be sufficiently

Well, here is what I do:  control-z then control-y.

What this effectively does is undo your last change, then reapply it, and in the process return to exactly where you were editing originally. Beware, though, to make sure your IDE actually does this. Its pretty standard, but not all will support it. For example, you’ll be disappointed if you’re using VB6 IDE.

Of course, if you’re keyboard-shy, the you can always use the ‘undo’ and ‘redo’ arrow buttons in your editor.

,
Trackback

no comment untill now

Add your comment now