|
I want to make some programmatic changes to the edited file. How can I do it so one Undo undoes it? |
|
|
Create a Runnable that will do all of the code generation/munging you want to do. Pass it to BaseDocument.runAtomic() (the Document in the editor should be an instance of BaseDocument - it will be for Java files and most other things).
Source: NetBeans FAQ
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.