Bug 52857 [spell checking] spell checking does not work for reused editors
3.0 M7 0. enable spell checking 1. set the editor preference to close editors automatically (allow only 1 editor) 2. open a CU with misspelled words in the Java editor ==> observe: spell check warnings appear 3. open another CU with misspelled words in the Java editor ==> observe: no spell check warnings
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/SpellReconcileStrategy.java
private final ITextEditor fEditor;
	
	private Locale fLocale= SpellCheckEngine.getDefaultLocale();
	
	private final String fPartitioning;
	
	private final IPreferenceStore fPreferences;
	
	private final IProblemRequestor fRequestor;
	/**
	 * Creates a new comment reconcile strategy.
	 * 
	 * @param editor
	 *                   The text editor to operate on
	 * @param partitioning
	 *                   The partitioning of the document
	 * @param store
	 *                   The preference store to get the preferences from
	 */
	public SpellReconcileStrategy(final ITextEditor editor, final String partitioning, final IPreferenceStore store) {
		fEditor= editor;
		fPartitioning= partitioning;
		fPreferences= store;
		final IAnnotationModel model= editor.getDocumentProvider().getAnnotationModel(editor.getEditorInput());
		fRequestor= (model instanceof IProblemRequestor) ? (IProblemRequestor) model : null;
	}
	/**
	 * Returns the current locale of the spell checking preferences.
	 * 
	 * @return The current locale of the spell checking preferences