Hi, a RichTextBox has a lot of properties whose names start with "Selection", those operate on the currently selected content. Read the MSDN documentation for all the details. :)
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.