?
=?ISO-8859-1?Q?Daniel_Sj=F6blom?=
I'm using the Swing UndoManager to implement undo and redo capabilites
in a text component. It works fine, but there is one thing that really
annoys me. When replacing text, the edit is treated as two separate
edits (since AbstractDocument allows implementations to do so), a remove
followed by an insert. Is there some way to merge several edits into one
edit?
in a text component. It works fine, but there is one thing that really
annoys me. When replacing text, the edit is treated as two separate
edits (since AbstractDocument allows implementations to do so), a remove
followed by an insert. Is there some way to merge several edits into one
edit?