I used the UndoManager to add undo and redo functionality to my JTextPane. However, it saves the text every time text is entered, so it undos to the last letter. How can I make it undo to the last word?
I used the UndoManager to add undo and redo functionality to my JTextPane. However,
Share
http://java-sl.com/tip_merge_undo_edits.html That’s an example of such merging edits.