Mono.Debugger.Frontend.ObjectFormatter.CheckLineWrap C# (CSharp) Method

CheckLineWrap() protected method

protected CheckLineWrap ( ) : void
return void
        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;
        }