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