@Override
  protected void registerInTree(int start, int end, boolean greedyToLeft, boolean greedyToRight, int layer) {
    // we store highlighters in MarkupModel
    myModel.addRangeHighlighter(this, start, end, greedyToLeft, greedyToRight, layer);
  }
@Override
  protected void registerInTree(int start, int end, boolean greedyToLeft, boolean greedyToRight, int layer)