Mercurial > projects > dwt-addons
diff dwtx/jface/text/source/ISourceViewer.d @ 158:25f1f92fa3df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 26 Aug 2008 02:46:34 +0200 |
parents | c4fb132a086c |
children | 1a5b8f8129df |
line wrap: on
line diff
--- a/dwtx/jface/text/source/ISourceViewer.d Mon Aug 25 19:06:44 2008 +0200 +++ b/dwtx/jface/text/source/ISourceViewer.d Tue Aug 26 02:46:34 2008 +0200 @@ -130,36 +130,36 @@ * Text operation code for requesting content assist to show completion * proposals for the current insert position. */ - int CONTENTASSIST_PROPOSALS= ITextOperationTarget.STRIP_PREFIX + 1; + static const int CONTENTASSIST_PROPOSALS= ITextOperationTarget.STRIP_PREFIX + 1; /** * Text operation code for requesting content assist to show * the content information for the current insert position. */ - int CONTENTASSIST_CONTEXT_INFORMATION= ITextOperationTarget.STRIP_PREFIX + 2; + static const int CONTENTASSIST_CONTEXT_INFORMATION= ITextOperationTarget.STRIP_PREFIX + 2; /** * Text operation code for formatting the selected text or complete document * of this viewer if the selection is empty. */ - int FORMAT= ITextOperationTarget.STRIP_PREFIX + 3; + static const int FORMAT= ITextOperationTarget.STRIP_PREFIX + 3; /** * Text operation code for requesting information at the current insertion position. * @since 2.0 */ - int INFORMATION= ITextOperationTarget.STRIP_PREFIX + 4; + static const int INFORMATION= ITextOperationTarget.STRIP_PREFIX + 4; /* * XXX: Cannot continue numbering due to operation codes used in ProjectionViewer - */ + */ /** * Text operation code for requesting quick assist. This will normally * show quick assist and quick fix proposals for the current position. * @since 3.2 */ - int QUICK_ASSIST= ITextOperationTarget.STRIP_PREFIX + 10; + static const int QUICK_ASSIST= ITextOperationTarget.STRIP_PREFIX + 10; /** * Configures the source viewer using the given configuration. Prior to 3.0 this