@Override
  public void repaint(final int startOffset, final int endOffset) {
    assertValid();
    myDelegate.repaint(myDocumentWindow.injectedToHost(startOffset), myDocumentWindow.injectedToHost(endOffset));
  }
@Override
  public void repaint(final int startOffset, final int endOffset)