Commit 93ca3a59 authored by Romain Bioteau's avatar Romain Bioteau

reset undo history after opening editor

parent 08eb3295
......@@ -679,6 +679,8 @@ public class GroovyScriptExpressionEditor extends SelectionAwareExpressionEditor
dataBindingContext.bindValue(SWTObservables.observeEnabled(testButton),
SWTObservables.observeText(groovyViewer.getSourceViewer().getTextWidget(), SWT.Modify), null,
evaluateStrategy);
sourceViewer.getUndoManager().reset();
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment