code: public void setHighlightRange(INode node) {
  		try {
  			int[] offsetLength = this.locationSearcher.getNodeOffset(node);
  			// int offset = getSourceViewer().getTextWidget().getCaretOffset();
  			Assert.isNotNull(offsetLength);
  			Assert.isTrue(offsetLength[0] > 0, "Illegal start offset");
  			Assert.isTrue(offsetLength[0] > 0, "Illegal offset length");
  			super.setHighlightRange(offsetLength[0], offsetLength[1], true);
  		} catch (IllegalArgumentException e) {
  			super.resetHighlightRange();
  		}
  	}
docs: highlights a node in the text editor.
  
  @param node