code: public boolean removeToPreviousSeparator(Issue issue, IXtextDocument document, String separator)
  			throws BadLocationException {
  		return removeToPreviousSeparator(issue.getOffset(), issue.getLength(), document, separator);
  	}
docs: Remove the element related to the issue, and the whitespaces before the element until the given separator.
  
  @param issue the issue.
  @param document the document.
  @param separator the separator to consider.
  @return <code>true</code> if the separator was found, <code>false</code> if not.
  @throws BadLocationException if there is a problem with the location of the element.