_maxWidth = calcMinWidthFromWordLength(c, trimLeadingSpace, false);
_maxWidth = calcMinWidthFromWordLength(c, cbWidth, trimLeadingSpace, false);
    public void calcMinMaxWidth(LayoutContext c, boolean trimLeadingSpace) {        if (! _minMaxCalculated) {            IdentValue whitespace = getStyle().getWhitespace();            if (whitespace == IdentValue.NOWRAP) {                _minWidth = _maxWidth = getTextWidth(c, getText(trimLeadingSpace));            } else if (whitespace == IdentValue.PRE) {                calcMaxWidthFromLineLength(c, false);                _minWidth = _maxWidth;            } else if (whitespace == IdentValue.PRE_WRAP) {                calcMinWidthFromWordLength(c, false, true);                calcMaxWidthFromLineLength(c, false);            } else if (whitespace == IdentValue.PRE_LINE) {                calcMinWidthFromWordLength(c, trimLeadingSpace, false);                calcMaxWidthFromLineLength(c, true);            } else /* if (whitespace == IdentValue.NORMAL) */ {                _maxWidth = calcMinWidthFromWordLength(c, trimLeadingSpace, false);            }                        _minMaxCalculated = true;        }    }