return peer.getLogicalRangesForVisualSelection(firstEndpoint, secondEndpoint);
throw new Error ("not implemented");
  public int[] getLogicalRangesForVisualSelection (TextHitInfo firstEndpoint,                                                   TextHitInfo secondEndpoint)  {    return peer.getLogicalRangesForVisualSelection(firstEndpoint, secondEndpoint);  }