### Eclipse Workspace Patch 1.0 #P org.eclipse.draw2d Index: src/org/eclipse/draw2d/text/TextFlow.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.gef/plugins/org.eclipse.draw2d/src/org/eclipse/draw2d/text/TextFlow.java,v retrieving revision 1.55 diff -u -r1.55 TextFlow.java --- src/org/eclipse/draw2d/text/TextFlow.java 14 Feb 2006 20:13:32 -0000 1.55 +++ src/org/eclipse/draw2d/text/TextFlow.java 19 Sep 2007 15:09:23 -0000 @@ -202,7 +202,7 @@ * @return the bidi string for that fragment * @since 3.1 */ -private String getBidiSubstring(TextFragmentBox box, int index) { +protected String getBidiSubstring(TextFragmentBox box, int index) { if (box.getBidiLevel() < 1) return getText().substring(box.offset, box.offset + box.length); @@ -560,7 +560,7 @@ } } -private void paintText(Graphics g, String draw, int x, int y, int bidiLevel) { +protected void paintText(Graphics g, String draw, int x, int y, int bidiLevel) { if (bidiLevel == -1) { g.drawString(draw, x, y); } else {