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