Skip to content
Snippets Groups Projects
Commit bbaa4866 authored by Markus Alexander Kuppe's avatar Markus Alexander Kuppe
Browse files

Save IDocument to file before sending out save event via EventBus.

Otherwise, event listeners will see an stale file.

[Bug][Toolbox]
parent 7c7791b8
No related branches found
No related tags found
No related merge requests found
......@@ -545,6 +545,7 @@ public class TLAEditor extends TextEditor
} // end if (historyStart > -1)
super.doSave(progressMonitor);
// Send out a save event through the event bus. There might be parties
// interested in this, e.g. to regenerate the pretty printed pdf.
......@@ -554,8 +555,6 @@ public class TLAEditor extends TextEditor
final IFile spec = fei.getFile();
service.post(SAVE_EVENT, spec);
}
super.doSave(progressMonitor);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment