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 261046
Collapse All | Expand All

(-)src/org/eclipse/ui/texteditor/AbstractTextEditor.java (-2 / +3 lines)
Lines 931-939 Link Here
931
		 */
931
		 */
932
		public void partOpened(IWorkbenchPart part) {
932
		public void partOpened(IWorkbenchPart part) {
933
			// Restore the saved state if any
933
			// Restore the saved state if any
934
			if (part == AbstractTextEditor.this && fMementoToRestore != null && containsSavedState(fMementoToRestore))
934
			if (part == AbstractTextEditor.this && fMementoToRestore != null && containsSavedState(fMementoToRestore)) {
935
				doRestoreState(fMementoToRestore);
935
				doRestoreState(fMementoToRestore);
936
			fMementoToRestore= null;
936
				fMementoToRestore= null;
937
			}
937
		}
938
		}
938
939
939
		/**
940
		/**

Return to bug 261046