c# - Programatically Select RichTextBox Element For Copy/Paste/Delete/Edit -


say i've got wpf richtextbox layed out following rich text:

<rtf>   <paragraph>     <run>foo(</run     <bold>       <run>int a</run>     </bold>     <run>, </run>     <bold>       <run>int b</run>     </bold>     <run>)</run>   <paragraph> </rtf> 

so looks foo(int a, int b). how go selecting text 'int a' portion via c#?


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -