Maybe things have changed since this question was answered, but I have an even simpler solution:
Just add richTextBox1.AutoWordSelection = false;
to the code.
Sounds crazy, but setting this to false
in the properties-box does not work. You have to do it in the code, even if the property is already false. Then it works!
网友评论