示例#1
0
        }   // end of ScrollableModalHint Render()

        #endregion

        #region Internal

        private void ScrollDown()
        {
            if (topLine > 0)
            {
                --topLine;
                TwitchTextOffset();

                // This scroll may have moved the cursor off screen, if so
                // move the cursor so that it's back on screen.
                int line   = 0;
                int curPos = 0;
                blob.FindCursorLineAndPosition(out line, out curPos);
                if (line >= topLine + textVisibleLines)
                {
                    blob.CursorUp();
                }
            }
        }   // end of ScrollDown()