protected void CheckLineWrap() { if (!WrapLines) return; if (pos < Columns) { last = sb.Length; return; } string wrap = "\n" + new String (' ', indent_level); if (last < 0) sb.Append (wrap); else sb.Insert (last, wrap); last = -1; pos = 0; }