calculateTabWidth();
public void setFont(Font font) {	checkWidget();	int oldLineHeight;		super.setFont(font);		if (boldFont != null) {		boldFont.dispose();	}	initializeFonts();	oldLineHeight = lineHeight;	calculateLineHeight();	// keep the same top line visible. fixes 5815	if (lineHeight != oldLineHeight) {		setVerticalScrollOffset(verticalScrollOffset * lineHeight / oldLineHeight, true);		claimBottomFreeSpace();	}	calculateContentWidth();	calculateScrollBars();	calculateTabWidth();	if (isBidi()) {		caretDirection = SWT.NULL;		createCaretBitmaps();		createBidiCaret();	} 	else {		Caret caret = getCaret();		if (caret != null) {			caret.setSize(caret.getSize().x, lineHeight);		}	}	// always set the caret location. Fixes 6685	setCaretLocation();	super.redraw();}