Editor.runInTransaction
This method allows for people to run code in an Xopus transaction, which allows the code to be validated and to be picked up by the undo stack in Xopus.
- Documentation
- › API
- › Global objects API
- › Editor.runInTransaction
Editor.runInTransaction( code : String|Function, win (optional) : Window) : Boolean
: String|Function, win (optional) : Window) : BooleanArguments
- code
- String|Function. The code to run
- win (optional)
- Window. The window to run the code in