Lines Matching defs:p0
97 int p0 = elem.getStartOffset();
108 p0-elem.getStartOffset(),
113 x = drawUnselectedText(g, x, y, p0, p1);
114 } else if ((p0 >= sel0 && p0 <= sel1) && (p1 >= sel0 && p1 <= sel1)) {
115 x = drawSelectedText(g, x, y, p0, p1);
116 } else if (sel0 >= p0 && sel0 <= p1) {
117 if (sel1 >= p0 && sel1 <= p1) {
118 x = drawUnselectedText(g, x, y, p0, sel0);
122 x = drawUnselectedText(g, x, y, p0, sel0);
125 } else if (sel1 >= p0 && sel1 <= p1) {
126 x = drawSelectedText(g, x, y, p0, sel1);
129 x = drawUnselectedText(g, x, y, p0, p1);
143 * @param p0 the beginning position in the model >= 0
149 int p0, int p1) throws BadLocationException {
153 doc.getText(p0, p1 - p0, s);
154 int ret = Utilities.drawTabbedText(this, s, x, y, g, this, p0);
168 * @param p0 the beginning position in the model >= 0
174 int y, int p0, int p1) throws BadLocationException {
178 doc.getText(p0, p1 - p0, s);
179 int ret = Utilities.drawTabbedText(this, s, x, y, g, this, p0);
355 int p0 = line.getStartOffset();
357 doc.getText(p0, pos - p0, s);
358 int xOffs = Utilities.getTabbedTextWidth(s, metrics, tabBase, this,p0);
424 int p0 = line.getStartOffset();
427 doc.getText(p0, p1 - p0, s);
429 int offs = p0 + Utilities.getTabbedTextOffset(s, metrics,
430 tabBase, x, this, p0);
663 int p0 = line.getStartOffset();
668 line.getDocument().getText(p0, p1 - p0, s);
669 w = Utilities.getTabbedTextWidth(s, metrics, tabBase, this, p0);