Mercurial > projects > dwt-addons
diff dwtx/jface/text/source/projection/SourceViewerInformationControl.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/text/source/projection/SourceViewerInformationControl.d Sun Aug 24 01:46:20 2008 +0200 +++ b/dwtx/jface/text/source/projection/SourceViewerInformationControl.d Sun Aug 24 01:52:31 2008 +0200 @@ -146,7 +146,7 @@ fTextFont= JFaceResources.getFont(symbolicFontName); fText.setFont(fTextFont); - fText.addKeyListener(new KeyListener() { + fText.addKeyListener(new class() KeyListener { public void keyPressed(KeyEvent e) { if (e.character is 0x1B) // ESC @@ -406,7 +406,7 @@ * @since 3.4 */ public IInformationControlCreator getInformationPresenterControlCreator() { - return new IInformationControlCreator() { + return new class() IInformationControlCreator { public IInformationControl createInformationControl(Shell parent) { return new SourceViewerInformationControl(parent, true, fSymbolicFontName, null); }