TIP: Click on subject to list as thread! ANSI
echo: semware
to: All
from: `Steve Klein`
date: 2003-01-23 10:52:02
subject: [TSEPro] Re: Retracing the cursor position locations

From: "Steve Klein" 
@Date: Wed, 22 Jan 2003 16:22:03 -0800
@Sender: semware-owner{at}sawasdi.apana.org.au



>>I would love to see the cursor movement entered into the undo list, so
that
>>the undo command will reverse both text changes and cursor movement. This
>>was how the old Brief worked, as well as a few other editor's I've used.

>Yes, I definitely second that suggestion! When I hit undo/redo it would be
>most useful if everything I did was undone/redone, and that included cursor
>movements.
>
>I realize that the undo stack could grow rather large because of this, so
>perhaps it can be made an option; undo cursor movements and text changes,
>or just text changes.

If I recall, Brief had some form of heuristic combining of cursor movements
on the undo list. When a cursor movement was first placed on the list, it
was placed there exactly (for example, say the cursor moved one character).
As that entry got "further back" in the list, it was subject to combining
with other adjacent cursor movement entries so that the undo list didn't
grow unnecessarily. This makes some sense, too, because if you undo several
of the most recent movements, you want them to be very "fine grained" and
undo exactly what you just did. However, if you continue to undo, the user
can't possibly remember that he typed 47 "up arrows" -- instead these would
have been combined into just one "move 47 lines up" entry, and when you
undid that entry in the undo list, the cursor would jump back 47 lines with
one "undo" command.

Steve


--
TSEPro mailing list



---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonet
SEEN-BY: 633/267 270
@PATH: 800/846 1 640/954 774/605 123/500 106/1 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.