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
String postfix= ""; 
			try {
				final IRegion line= fDocument.getLineInformationOfOffset(fStart);
				prefix= fDocument.get(line.getOffset(), fStart - line.getOffset());
				postfix= fDocument.get(fEnd + 1, line.getOffset() + line.getLength() - fEnd);
			} catch (BadLocationException exception) {
				
			}
			return new String[] { fWord, prefix, postfix, fSentence ? Boolean.toString(true) : Boolean.toString(false), fMatch ? Boolean.toString(true) : Boolean.toString(false)};
		}
		/*
		 * @see org.eclipse.jdt.core.compiler.IProblem#getID()
		 */
		public int getID() {
			return Spelling;
		}
		/*
		 * @see org.eclipse.jdt.core.compiler.IProblem#getMessage()
		 */
		public String getMessage() {
			if (fSentence && fMatch)
				return MessageFormat.format(JavaUIMessages.getString("Spelling.error.case.label"), new String[] { fWord }); 
			return MessageFormat.format(JavaUIMessages.getString("Spelling.error.label"), new String[] { fWord }); 
		}
		/*
		 * @see org.eclipse.jdt.core.compiler.IProblem#getOriginatingFileName()
		 */
		public char[] getOriginatingFileName() {
			return fEditor.getEditorInput().getName().toCharArray();
		}