While switching between ALTERING (typing/deleting) and NAVIGATING (moving
cursor) text, remember few last end-of-altering cursor positions and allow user
to return to them. Like automagical bookmarks.

Example use-case: 
- User is editing a file and finishes typing on line 50 col 10
-- (= cursor position [50:10])
- moves cursor back to position [20:1]
- types something including one line-break
- so finishes second edit on position [21:5] 
- now wants to move to [51:10] to continue previous edit
-- (because new position of previous change has been pushed down by insertion)

Yes, thats in general exactly the same how bookmarks works, but without manual
setting.

Currently when I identify I'm going to be jumping often I obviously resolve to
place bookmarks, but I rarely foresee that and have to do [ Undo - Undo - Set
Bookmark - Redo - Redo - Set bookmark - Jump to bookmark ] sequence, which could
be possibly bypassed programmatically as described above.

Extra tidbit would be leaving visible marks ("ghost cursors") on places of last
edits (probably not doable with current text component) or at least marks in
ruler (just like regular bookmarks).

-- 
<http://forum.pspad.com/read.php?2,64172,64172>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem