Bug 54468 Remove non-default-encoding-alert from CompilationUnitEditor
no longer necessary with new encoding support.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
*/
		public void restore() {
			/* https://bugs.eclipse.org/bugs/show_bug.cgi?id=52257
			 * This method may be called inside an async call posted
			 * to the UI thread, so protect against intermediate disposal
			 * of the editor.
			 */
			if (getSourceViewer() == null)
				return;
			
			try {
				
				int startOffset= fStartOffset.getOffset();
				int endOffset= fEndOffset.getOffset();
				
				if (startOffset == -1)
					startOffset= endOffset; 
				
				if (endOffset == -1)
					endOffset= startOffset; 
				
				IJavaElement element;
				if (endOffset == -1) {
					 
					element= fEndOffset.getElement();
					if (element == null)
						element= fStartOffset.getElement();
					if (element != null)
						setSelection(element);
					return;