if (content.startsWith(fReplacementString))
if (fReplacementString.startsWith(content))
	public boolean validate(IDocument document, int offset, DocumentEvent event) {		try {			String content= document.get(fReplacementPosition.getOffset(), fReplacementPosition.getLength());			if (content.startsWith(fReplacementString))				return true;		} catch (BadLocationException e) {			// ignore concurrently modified document		}		return false;	}