21 April, 2008

Text-editing trick

Undo/Redo keys can be used to quickly go back to the place in the text where you've been. Like if you scroll up to where the #includes are, press Ctrl-Z and then Ctrl-Shift-Z to jump back to the place in the code you've been modifying.

Works with Office, too - although unfortunately the newest Word either doesn't have a Redo hotkey or something else is not quite right. A positive thing about the newest Word's hotkeys is, however, that they've kept the Ctrl-P to print, otherwise I would know how to print.

But the trick works where I do most of the text editing: with Visual Studio and I think I got it to work with Eclipse, so - w00t.

No comments: