View | Details | Raw Unified | Return to bug 178117 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/draw2d/text/TextFlow.java (-2 / +2 lines)
Lines 202-208 Link Here
202
 * @return the bidi string for that fragment
202
 * @return the bidi string for that fragment
203
 * @since 3.1
203
 * @since 3.1
204
 */
204
 */
205
private String getBidiSubstring(TextFragmentBox box, int index) {
205
protected String getBidiSubstring(TextFragmentBox box, int index) {
206
	if (box.getBidiLevel() < 1)
206
	if (box.getBidiLevel() < 1)
207
		return getText().substring(box.offset, box.offset + box.length);
207
		return getText().substring(box.offset, box.offset + box.length);
208
	
208
	
Lines 560-566 Link Here
560
	}
560
	}
561
}
561
}
562
562
563
private void paintText(Graphics g, String draw, int x, int y, int bidiLevel) {
563
protected void paintText(Graphics g, String draw, int x, int y, int bidiLevel) {
564
	if (bidiLevel == -1) {
564
	if (bidiLevel == -1) {
565
		g.drawString(draw, x, y);
565
		g.drawString(draw, x, y);
566
	} else {
566
	} else {

Return to bug 178117