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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -