Project: JDT
Bug 150083 Incremental find is disabled when text editor is embedded in MultiPageEditorPart
Reported: 2006-07-08 21:40:49 | Status: resolved fixed

It looks like AbstractTextEditor.getStatusLineManager() is the culprit. MultiPageEditorSite.getActionBarContributor() always returns null so AbstractTextEditor.getStatusLineManager() will always return null. Shouldn't AbstractTextEditor.getStatusLineManager() just call getEditorSite().getActionBars().getStatusLineManager()? As currently written, it seems any editor without a contributor will have the same problem.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/AddImportOnSelectionAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java