Joe,
Previously I thought this was impossible with the Swing undo architecture,
but Romain Guy pulled it off in the Jext editor. I haven't examined his
source code yet; if it is clean and works well, I'll snake it for jEdit 3.1.
Slava
Joe Laffey wrote:
>
> I have noticed that even typing one character in jEdit counts as one
> undoable action. In other text editors I have used an undoable action (in
> terms of typing) is defined as all the typing performed between mouse
> clicks, or menu items (commands). So an undo would be the typing of a
> whole line, or the editing of one selection (becuase you had to click to
> select the word and then paste, or type to change it).
>
> I for one would prefer the second method. ANyone else have any ideas about
> undos? I have not examined the undo code; so I do not know how hard this
> would be to implement. I also don;t know what the rest of you think about
> this. I do think that it is silly for the typing og an eight-letter word
> to count for 8 undos!
>
> Thoughts?
>
> Joe Laffey
> LAFFEY Computer Imaging
> St. Louis, MO
> -------------------------
>
> --
> -----------------------------------------------
> jEdit Users' List
> jEdit-users@...
> http://lists.sourceforge.net/lists/listinfo/jedit-users
|