Bug 60414 Should generate IMarker if editor doesn't provide AnnotationModel
To be backward compatible with existing multi page editors we should generate temporary search markers if the text editor doesn't support Annotation models.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindAction.java
catch (CoreException ex) {
					ExceptionHandler.handle(ex, shell, SearchMessages.getString("Search.Error.setDescription.title"), SearchMessages.getString("Search.Error.setDescription.message")); 
				}
			}
			try {
				PlatformUI.getWorkbench().getProgressService().run(true, true, op);
			} catch (InvocationTargetException ex) {
				ExceptionHandler.handle(ex, shell, SearchMessages.getString("Search.Error.search.title"), SearchMessages.getString("Search.Error.search.message")); 
			} catch(InterruptedException e) {
				
			} finally {
				if (isAutoBuilding) {
					
					workspaceDesc= JavaPlugin.getWorkspace().getDescription();
					workspaceDesc.setAutoBuilding(true);
					try {
						JavaPlugin.getWorkspace().setDescription(workspaceDesc);
					}
					catch (CoreException ex) {
						ExceptionHandler.handle(ex, shell, SearchMessages.getString("Search.Error.setDescription.title"), SearchMessages.getString("Search.Error.setDescription.message")); 
					}
				}				
			}
		}
	}
	private void performNewSearch(IJavaElement element) throws JavaModelException {
		JavaSearchQuery query= createJob(element);
		if (query != null) {
			NewSearchUI.activateSearchResultView();
			NewSearchUI.runQuery(query);