EDN Admin
Well-known member
Simple tests show that RichtextBox.<span>SelectionCharOffset property corresponds to "upn" RTF tag. (e.g. up3 up0 pair). I need to check for another kind of superscripts that are defined by RTF tags "super" and "nosupersub". These are the
tags that HTML superscripts (<sup> </sup>) are translated to when copying/pasting texts from web pages to RichTextBox. Unfortunately,
<span>SelectionCharOffset does not recognize them.
Is there any other way to find superscripted text within RichTextBox?
Thank you.
Alex
View the full article
tags that HTML superscripts (<sup> </sup>) are translated to when copying/pasting texts from web pages to RichTextBox. Unfortunately,
<span>SelectionCharOffset does not recognize them.
Is there any other way to find superscripted text within RichTextBox?
Thank you.
Alex
View the full article