< prev index next >

jdk/src/java.base/share/classes/java/text/Bidi.java

Print this page

        

*** 183,193 **** */ public Bidi createLineBidi(int lineStart, int lineLimit) { AttributedString astr = new AttributedString(""); Bidi newBidi = new Bidi(astr.getIterator()); ! return bidiBase.setLine(this, bidiBase, newBidi, newBidi.bidiBase,lineStart, lineLimit); } /** * Return true if the line is not left-to-right or right-to-left. This means it either has mixed runs of left-to-right * and right-to-left text, or the base direction differs from the direction of the only run of text. --- 183,193 ---- */ public Bidi createLineBidi(int lineStart, int lineLimit) { AttributedString astr = new AttributedString(""); Bidi newBidi = new Bidi(astr.getIterator()); ! return bidiBase.setLine(this, bidiBase, newBidi, newBidi.bidiBase, lineStart, lineLimit); } /** * Return true if the line is not left-to-right or right-to-left. This means it either has mixed runs of left-to-right * and right-to-left text, or the base direction differs from the direction of the only run of text.
< prev index next >