Betamoo
Betamoo

Reputation: 15860

Selecting Word-Parts in C#

While collecting some training data for NLP, I discovered that it is impossible to select parts of 2 adjacent words in a RichTextBox.

For example: you can not select "lect Me" from "Select Me" in a RichTextBox using mouse..!!
However it can be done using SHIFT key

Is there a property to be able to select parts of adjacent words not the whole words? That would make it easy for a human annotator...

Thanks

Upvotes: 2

Views: 237

Answers (1)

26071986
26071986

Reputation: 2330

RichTextBox has a property AutoWordSelection. When you set it to false, you get what you need.

Most probably, you will need to do it programmatically - for some reason changing it to false in Properties Tab did not help.

Upvotes: 3

Related Questions