Mercurial > projects > dwt-addons
comparison 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 |
comparison
equal
deleted
inserted
replaced
157:7f75eaa8103a | 158:25f1f92fa3df |
---|---|
128 | 128 |
129 /** | 129 /** |
130 * Text operation code for requesting content assist to show completion | 130 * Text operation code for requesting content assist to show completion |
131 * proposals for the current insert position. | 131 * proposals for the current insert position. |
132 */ | 132 */ |
133 int CONTENTASSIST_PROPOSALS= ITextOperationTarget.STRIP_PREFIX + 1; | 133 static const int CONTENTASSIST_PROPOSALS= ITextOperationTarget.STRIP_PREFIX + 1; |
134 | 134 |
135 /** | 135 /** |
136 * Text operation code for requesting content assist to show | 136 * Text operation code for requesting content assist to show |
137 * the content information for the current insert position. | 137 * the content information for the current insert position. |
138 */ | 138 */ |
139 int CONTENTASSIST_CONTEXT_INFORMATION= ITextOperationTarget.STRIP_PREFIX + 2; | 139 static const int CONTENTASSIST_CONTEXT_INFORMATION= ITextOperationTarget.STRIP_PREFIX + 2; |
140 | 140 |
141 /** | 141 /** |
142 * Text operation code for formatting the selected text or complete document | 142 * Text operation code for formatting the selected text or complete document |
143 * of this viewer if the selection is empty. | 143 * of this viewer if the selection is empty. |
144 */ | 144 */ |
145 int FORMAT= ITextOperationTarget.STRIP_PREFIX + 3; | 145 static const int FORMAT= ITextOperationTarget.STRIP_PREFIX + 3; |
146 | 146 |
147 /** | 147 /** |
148 * Text operation code for requesting information at the current insertion position. | 148 * Text operation code for requesting information at the current insertion position. |
149 * @since 2.0 | 149 * @since 2.0 |
150 */ | 150 */ |
151 int INFORMATION= ITextOperationTarget.STRIP_PREFIX + 4; | 151 static const int INFORMATION= ITextOperationTarget.STRIP_PREFIX + 4; |
152 | 152 |
153 /* | 153 /* |
154 * XXX: Cannot continue numbering due to operation codes used in ProjectionViewer | 154 * XXX: Cannot continue numbering due to operation codes used in ProjectionViewer |
155 */ | 155 */ |
156 | 156 |
157 /** | 157 /** |
158 * Text operation code for requesting quick assist. This will normally | 158 * Text operation code for requesting quick assist. This will normally |
159 * show quick assist and quick fix proposals for the current position. | 159 * show quick assist and quick fix proposals for the current position. |
160 * @since 3.2 | 160 * @since 3.2 |
161 */ | 161 */ |
162 int QUICK_ASSIST= ITextOperationTarget.STRIP_PREFIX + 10; | 162 static const int QUICK_ASSIST= ITextOperationTarget.STRIP_PREFIX + 10; |
163 | 163 |
164 /** | 164 /** |
165 * Configures the source viewer using the given configuration. Prior to 3.0 this | 165 * Configures the source viewer using the given configuration. Prior to 3.0 this |
166 * method can only be called once. Since 3.0 this method can be called again | 166 * method can only be called once. Since 3.0 this method can be called again |
167 * after a call to {@link ISourceViewerExtension2#unconfigure()}. | 167 * after a call to {@link ISourceViewerExtension2#unconfigure()}. |