| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | [TSEPro] Re: Retracing the cursor position locations |
From: Jim Wilson
@Date: Wed, 22 Jan 2003 18:49:40 -0500
@Sender: semware-owner{at}sawasdi.apana.org.au
At 02:41 PM 1/22/03 -0500, you 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.
Sounds like a good idea, but what about file saves? Can you also add
options that will:
- remove the line changed "flag" so it can be re-colored as though it
wasn't changed
- leave the line changed "flag" intact so it stays colored as though it
was changed, even after saving the file
This way, if someone wanted to consider a changed line no longer changed
when a file is saved (like me) it can be done.
>(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 don't know, I've seen some pretty crappy typists in my day... :-)
Jim
--
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™.