limit the maximum lines in RichTextBox