See this demo i knocked up.
Add a CheckedListBox and RichTextBox to a form
The load event will add 20 items to a list box, it will also add the same 20 items to the RTB.
When you select an item in the listbox, it will highlight in the RTB, you can toggle the BOLD state of the item by changing the checked status.
Public class Form1
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
For x as Integer = 1 To 20
CheckedListBox1.Items.Add("Item" + x.ToString)
RichTextBox1.Text = RichTextBox1.Text + "Item" + x.ToString
Next
End Sub
Private Sub CheckedListBox1_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles CheckedListBox1.SelectedIndexChanged
Dim item as String = CheckedListBox1.SelectedItem
If item.Length > 0 Then
Dim index As Integer = RichTextBox1.Text.IndexOf(item)
If index >=0 Then
RichTextBox1.SelectionStart = index
RichTextBox1.SelectionLength = item.Length
If CheckedListBox1.checkedIndices.Contains(CheckedListBox1.SelectedIndices(0)) Then
RichTextBox1.SelectionFont = New Font(RichTextBox1.SelectionFont.FontFamily, RichTextBox1.SelectionFont.FontFamily, FontStyle.Bold)
Else
RichTextBox1.SelectionFont = New Font(RichTextBox1.SelectionFont.FontFamily, RichTextBox1.SelectionFont.FontFamily, FontStyle.Regular)
End If
End If
End If
End Sub
End Class