protected override void WriteText(string s, ColorCategory colorCategory) { if (_textWriter != null) { _textWriter.BufferedWrite(s, _charBuffer); } }