Community
Participate
Working Groups
where.y = -box.getAscentWithBorder();
where.height = box.getDescentWithBorder() - where.y;
where.y += box.getBaseline();
if (i == 0) {
where.x += fb.getLeftMargin();
where.width -= fb.getLeftMargin();
}
if (i == frags.size() - 1)
where.width -= fb.getRightMargin();
sides = 0;
if (i == 0)
sides = SWT.LEAD;
sides |= SWT.TRAIL;
fb.paint(this, graphics, where, sides);
graphics.restoreState();
if (selectionStart != -1)
paintSelection(graphics);