Skip to content

Commit

Permalink
New release.
Browse files Browse the repository at this point in the history
  • Loading branch information
DunaMariusCosmin committed Dec 14, 2017
1 parent 5b9d196 commit afea6cd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ public class PrologUpdaterExtension extends OptionPagePluginExtension implements
* @see ro.sync.exml.plugin.workspace.WorkspaceAccessPluginExtension#applicationStarted(ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace)
*/
public void applicationStarted(final StandalonePluginWorkspace workspace) {
//create a XmlUpdater
// Create a XmlUpdater
final DitaUpdater xmlUpdater = createDitaUpdater();

//add an WSEditorChangeListener
// Add an WSEditorChangeListener
workspace.addEditorChangeListener(new WSEditorChangeListener(){
@Override
public void editorOpened(URL editorLocation) {
final WSEditor editorAccess = workspace.getEditorAccess(editorLocation, PluginWorkspace.MAIN_EDITING_AREA);
//add an WSEditorListener
// Add an WSEditorListener
editorAccess.addEditorListener(new WSEditorListener(){
private boolean wasNew = false;
private boolean wasSave = false;
Expand Down

0 comments on commit afea6cd

Please sign in to comment.