| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | [TSEPro] Re: Retracing the cursor position locations |
From: Bill Stewart
@Date: Wed, 22 Jan 2003 12:42:59 -0700
@Sender: semware-owner{at}sawasdi.apana.org.au
Sammy Mitchell wrote:
> How does this sound:
>
> Allocate a 32-bit integer (called line_change_count) for each line.
>
> Whenever that line is changed, increment line_change_count. This should
> be done in the same code that builds the undo list.
>
> Whenever undo is performed, decrement the line_change_count as
> appropriate.
>
> Whenever redo is performed, increment line_change_count as appropriate.
>
> (I'm assuming that no one will ever make 2**32 changes to a single line?
> I wonder how long it would take to make that many simple changes to a
> single line?)
>
> I think this will work?
>
> But please don't ask to show where the change starts/stops on each line!
I think that 2**32 is large enough. :)
These two things would add value to the editor, in my opinion.
I remember looking at an editor called tde
(http://www.geocities.com/jadoxa/tde/) that colors edited lines differently
from the rest of the text in the buffer, and I just thought it was sort of
cool. Even if you can't jump back to the last changed line, you could at
least see changed lines.
--
TSEPro mailing list
---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonetSEEN-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™.