[nbusers] NbEditorDocument Undo/Redo Behaviour

  • From: "jgodboldsmith" < >
  • To:
  • Subject: [nbusers] NbEditorDocument Undo/Redo Behaviour
  • Date: Mon, 08 Mar 2010 15:05:12 +0000

The NbEditorDocument undo redo has a quirk on overwriting text in a document. 

Has anyone overridden the default netbeans NbEditorDocument’s undo redo 
behaviour so that the following behaviour:


Code:

  open:
          some text
  insert by overwrite:
          abc
  undo:
          a
  undo:
          some text
  redo:
          a
  redo:
          abc 


 
Is replaced with:

Code:

            insert:
                     abc
            undo:
                     some text
            redo:
                     abc



If so, how?






[nbusers] NbEditorDocument Undo/Redo Behaviour

jgodboldsmith 03/08/2010

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close