Mercurial > projects > dwt-addons
diff dwtx/jface/internal/text/link/contentassist/ContentAssistant2.d @ 135:65801ad2b265
Regex fix for anon classes
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:52:31 +0200 |
parents | 51e6e63f930e |
children | b6bad70d540a |
line wrap: on
line diff
--- a/dwtx/jface/internal/text/link/contentassist/ContentAssistant2.d Sun Aug 24 01:46:20 2008 +0200 +++ b/dwtx/jface/internal/text/link/contentassist/ContentAssistant2.d Sun Aug 24 01:52:31 2008 +0200 @@ -194,7 +194,7 @@ if (control !is null) { Display d= control.getDisplay(); if (d !is null) { - d.asyncExec(new Runnable() { + d.asyncExec(new class() Runnable { public void run() { if (!hasFocus()) hide(); @@ -331,7 +331,7 @@ Display d= control.getDisplay(); if (d !is null) { try { - d.syncExec(new Runnable() { + d.syncExec(new class() Runnable { public void run() { if (showStyle is SHOW_PROPOSALS) fProposalPopup.showProposals(true); @@ -747,7 +747,7 @@ * @return an <code>IInformationControlCreator</code> to be used to display context information */ private IInformationControlCreator getInformationControlCreator() { - return new IInformationControlCreator() { + return new class() IInformationControlCreator { public IInformationControl createInformationControl(Shell parent) { return new DefaultInformationControl(parent, false); }