Mercurial > projects > dwt-addons
comparison dwtx/jface/text/source/SourceViewerConfiguration.d @ 135:65801ad2b265
Regex fix for anon classes
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:52:31 +0200 |
parents | 7d818bd32d63 |
children | 02cd5f1224d3 |
comparison
equal
deleted
inserted
replaced
134:51e6e63f930e | 135:65801ad2b265 |
---|---|
393 * @param sourceViewer the source viewer to be configured by this configuration | 393 * @param sourceViewer the source viewer to be configured by this configuration |
394 * @return the information control creator or <code>null</code> if no information support should be installed | 394 * @return the information control creator or <code>null</code> if no information support should be installed |
395 * @since 2.0 | 395 * @since 2.0 |
396 */ | 396 */ |
397 public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) { | 397 public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) { |
398 return new IInformationControlCreator() { | 398 return new class() IInformationControlCreator { |
399 public IInformationControl createInformationControl(Shell parent) { | 399 public IInformationControl createInformationControl(Shell parent) { |
400 return new DefaultInformationControl(parent); | 400 return new DefaultInformationControl(parent); |
401 } | 401 } |
402 }; | 402 }; |
403 } | 403 } |