Merging edits

Discussion in 'Java' started by =?ISO-8859-1?Q?Daniel_Sj=F6blom?=, Oct 17, 2003.

  1. 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?
    --
    Daniel Sjöblom
     
    =?ISO-8859-1?Q?Daniel_Sj=F6blom?=, Oct 17, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jim Heavey

    Datagrid Edits

    Jim Heavey, Nov 17, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    396
    Jim Heavey
    Nov 17, 2003
  2. Garry Dawkins

    Form edits

    Garry Dawkins, Dec 8, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    473
    Garry Dawkins
    Dec 8, 2003
  3. =?Utf-8?B?U2NvdHQgYXQgQ2VkYXIgQ3JlZWs=?=

    FormView doesn't store any edits

    =?Utf-8?B?U2NvdHQgYXQgQ2VkYXIgQ3JlZWs=?=, Feb 8, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    1,454
    Christopher Reed
    Feb 11, 2006
  4. Javayang
    Replies:
    1
    Views:
    1,829
    Tor Iver Wilhelmsen
    Feb 26, 2004
  5. Vincent de Veaux

    HTML-Software that edits...

    Vincent de Veaux, Dec 28, 2003, in forum: HTML
    Replies:
    7
    Views:
    385
    Sjeef
    Dec 30, 2003
Loading...

Share This Page