The txTextGetHighlighter function returns the text document's highlighter. The highlighter supplies the blend mode and color needed to render the cursor and active text selections. These values are normally set by txTextSetHighlighter.
Parameter | Description |
---|---|
power_doc |
Handle of the previously created Power Engine document. |
cursor_blend_arr |
An array of five bytes (BM, C1, C2, C3 and C4) specifying the blend mode and color of the cursor. See txTextSetHighlighter for details. |
select_blend_arr |
An array of five bytes (BM, C1, C2, C3 and C4) specifying the blend mode and color of any active text selections. See txTextSetHighlighter for details. |
reserved |
Reserved for future use. Must be set to 0. |
If successful, the return value is 1. Otherwise, the function returns 0.