void HighlightText(UPInt pos, UPInt len, TextHighlightStyle style, bool clause);
HighlightText highlights the text in the composition string. Parameter "clause" should be true, if this method is called to highlight the clause (used for Japanese IME). In this case, in addition to the requested highlight, the entire composition string will be underlined by a solid single underline.
Parameters |
Description |
UPInt pos |
Starting position of the text to be highlighted. |
UPInt len |
Number of characters in the text to be highlighted. |
TextHighlightStyle style |
Style used for highlighting the text. |
bool clause |
Set to true in order to highlight whole composition string by solid single underline (used for Japanese IME). |