Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 20040
Collapse All | Expand All

(-)ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java (-1 / +9 lines)
Lines 177-182 Link Here
177
		private List fTextConverters;
177
		private List fTextConverters;
178
		private OverviewRuler fOverviewRuler;
178
		private OverviewRuler fOverviewRuler;
179
		private boolean fIsOverviewRulerVisible;
179
		private boolean fIsOverviewRulerVisible;
180
		private boolean fIgnoreTextConverters= false;
180
		
181
		
181
		private IVerticalRuler fCachedVerticalRuler;
182
		private IVerticalRuler fCachedVerticalRuler;
182
		private boolean fCachedIsVerticalRulerVisible;
183
		private boolean fCachedIsVerticalRulerVisible;
Lines 217-222 Link Here
217
					String msg= fContentAssistant.showPossibleCompletions();
218
					String msg= fContentAssistant.showPossibleCompletions();
218
					setStatusLineErrorMessage(msg);
219
					setStatusLineErrorMessage(msg);
219
					return;
220
					return;
221
				case UNDO:
222
					fIgnoreTextConverters= true;
223
					break;
224
				case REDO:
225
					fIgnoreTextConverters= true;
226
					break;
220
			}
227
			}
221
			
228
			
222
			super.doOperation(operation);
229
			super.doOperation(operation);
Lines 247-256 Link Here
247
		 */
254
		 */
248
		protected void customizeDocumentCommand(DocumentCommand command) {
255
		protected void customizeDocumentCommand(DocumentCommand command) {
249
			super.customizeDocumentCommand(command);
256
			super.customizeDocumentCommand(command);
250
			if (fTextConverters != null) {
257
			if (!fIgnoreTextConverters && fTextConverters != null) {
251
				for (Iterator e = fTextConverters.iterator(); e.hasNext();)
258
				for (Iterator e = fTextConverters.iterator(); e.hasNext();)
252
					((ITextConverter) e.next()).customizeDocumentCommand(getDocument(), command);
259
					((ITextConverter) e.next()).customizeDocumentCommand(getDocument(), command);
253
			}
260
			}
261
			fIgnoreTextConverters= false;
254
		}
262
		}
255
		
263
		
256
		public IVerticalRuler getVerticalRuler() {
264
		public IVerticalRuler getVerticalRuler() {

Return to bug 20040