Hi Allan,
Quite a while ago there was the question how to search a document for information, then come back to the spot and continue editing.
You mentioned the technique to scroll around, read what you need, then press Command-J (Jump to Selection). Too bad that Find or Copy/ Paste move the selection.
How about a command "Jump to Last Edit" and bind it to Cmd-Shift-J? Is this possible to have as a macro, or as a TextEdit extension?
One could design it with a few parameters
- How many edit positions to memorize? 5 sounds good to me. (to cycle through them, recent to older)
- How far apart edit positions should be to be different? 10 lines, less than half a screen, sounds good to me here. So if change happens "near" another edit position, the position moves to the cursor spot.
- Jump across files? I don't think so.
Edit positions should be part of the Undo queue.
I'm not trying to interfere with future expansions or better ideas like stacks of tags, except that simplest often works best.
BTW I'm an raving fan of two windows of the same file side-by-side, because I copy a lot (and I forget a lot). For Projects this is easy achieved, has just a few refresh hickups when I edit a point above, then switch to the other window. I see twice the amount of stuff, so split windows wound't cut it.
For single file edits, like in a Fugu session, it is utterly impossible to open a second window. Then I resort to throwing chunks in a scratch pad, and jumping around in the same file. Hence the topic. ;-)
Regards, Peter
If you aren't already using them, bookmarks are handy for things like this.
Command-F2 to set F2 to move to next Shift-F2 to move to previous
Regards, JJ
On 18-Jan-2006, at 09:11, Peter Vohmann wrote:
Hi Allan,
Quite a while ago there was the question how to search a document for information, then come back to the spot and continue editing.
You mentioned the technique to scroll around, read what you need, then press Command-J (Jump to Selection). Too bad that Find or Copy/Paste move the selection.
How about a command "Jump to Last Edit" and bind it to Cmd-Shift-J? Is this possible to have as a macro, or as a TextEdit extension?
One could design it with a few parameters
How many edit positions to memorize? 5 sounds good to me. (to cycle through them, recent to older)
How far apart edit positions should be to be different? 10 lines, less than half a screen, sounds good to me here. So if change happens "near" another edit position, the position moves to the cursor spot.
Jump across files? I don't think so.
Edit positions should be part of the Undo queue.
I'm not trying to interfere with future expansions or better ideas like stacks of tags, except that simplest often works best.
BTW I'm an raving fan of two windows of the same file side-by-side, because I copy a lot (and I forget a lot). For Projects this is easy achieved, has just a few refresh hickups when I edit a point above, then switch to the other window. I see twice the amount of stuff, so split windows wound't cut it.
For single file edits, like in a Fugu session, it is utterly impossible to open a second window. Then I resort to throwing chunks in a scratch pad, and jumping around in the same file. Hence the topic. ;-)
Regards, Peter
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
--- Help everyone. If you can't do that, then at least be nice.