xAtOffset = renderer.bidiTextWidth(lineText, 0, offsetInLine, 0, bidi) + leftMargin;
xAtOffset = bidiTextWidth(lineText, 0, offsetInLine, 0, bidi) + leftMargin;
void showBidiCaret() {	int line = content.getLineAtOffset(caretOffset);	int lineOffset = content.getOffsetAtLine(line);	int offsetInLine = caretOffset - lineOffset;	String lineText = content.getLine(line);	int xAtOffset = 0;	boolean scrolled = false;			GC gc = new GC(this);	StyledTextBidi bidi = getStyledTextBidi(lineText, lineOffset, gc);	// getXAtOffset, inlined for better performance	xAtOffset = renderer.bidiTextWidth(lineText, 0, offsetInLine, 0, bidi) + leftMargin;	if (offsetInLine > lineText.length()) {		// offset is not on the line. return an x location one character 		// after the line to indicate the line delimiter.		xAtOffset += lineEndSpaceWidth;	}	xAtOffset -= horizontalScrollOffset;	//	scrolled = showLocation(xAtOffset, line);	if (scrolled == false) {		setBidiCaretLocation(bidi);	}	gc.dispose();}