Editor.wrapInTransaction

 


Editor.wrapInTransaction( code : Function,  win (optional) : Object) : mixed

Arguments

code
Function. The code to run
win (optional)
Object. this object

Return Value

mixed
Passed the return value of the wrapped function