Mercurial > projects > dwt-addons
diff dwtx/jface/text/TextViewerUndoManager.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | a9566845f1cb |
children | c3583c6ec027 |
line wrap: on
line diff
--- a/dwtx/jface/text/TextViewerUndoManager.d Wed Aug 27 14:49:30 2008 +0200 +++ b/dwtx/jface/text/TextViewerUndoManager.d Mon Sep 08 00:51:37 2008 +0200 @@ -301,7 +301,7 @@ fTextViewer.getTextWidget().getDisplay().syncExec(new class() Runnable { public void run() { if ( cast(TextViewer)fTextViewer ) - (cast(TextViewer)fTextViewer).ignoreAutoEditStrategies(true); + (cast(TextViewer)fTextViewer).ignoreAutoEditStrategies_package(true); } }); @@ -309,7 +309,7 @@ fTextViewer.getTextWidget().getDisplay().syncExec(new class() Runnable { public void run() { if ( cast(TextViewer)fTextViewer ) - (cast(TextViewer)fTextViewer).ignoreAutoEditStrategies(false); + (cast(TextViewer)fTextViewer).ignoreAutoEditStrategies_package(false); } }); if (event.isCompound()) { @@ -436,7 +436,7 @@ shell= st.getShell(); } if (Display.getCurrent() !is null) - MessageDialog.openError(shell, title, ex.getLocalizedMessage()); + MessageDialog.openError(shell, title, ex.msg/+getLocalizedMessage()+/); else { Display display; Shell finalShell= shell; @@ -445,7 +445,7 @@ else display= Display.getDefault(); display.syncExec(dgRunnable((Shell finalShell_, String title_, Exception ex_ ) { - MessageDialog.openError(finalShell_, title_, ex_.getLocalizedMessage()); + MessageDialog.openError(finalShell_, title_, ex_.msg/+getLocalizedMessage()+/); },finalShell, title, ex )); } }