Esempio n. 1
0
            internal void flushTextArea()
            {
                lock (this)
                {
                    int len = outerInstance.talogging.Text.Length();

                    // Always scroll down to the last line
                    outerInstance.talogging.CaretPosition = len;

                    // if we have set a maximum characters limit and
                    // we have exceeded that limit, clear the messages
                    if (outerInstance.m_maxChars > 0 && len > outerInstance.m_maxChars)
                    {
                        outerInstance.clearScreenMessages();
                    }
                }
            }