BidiRun run = line.getVisualRun(i); int st = run.getStart(); int e = run.getLimit(); int j = run.getDirection() == Bidi.LTR ? st : e - 1;
@Override public BidiTextRun getVisualRun(int runIndex) { BidiRun run = bidi.getVisualRun(runIndex); BidiTextRun textRun = new BidiTextRun(run.getStart(), run.getLength(), run.getDirection()); return textRun; }
@Override public BidiTextRun getVisualRun(int runIndex) { BidiRun run = bidi.getVisualRun(runIndex); BidiTextRun textRun = new BidiTextRun(run.getStart(), run.getLength(), run.getDirection()); return textRun; }