The attached simple standalone VI I suggests to me that Text.SelStart and Text.SelEnd don't work as advertised.
Instead of changing the text color of only the selected characters, it changes color of all characters.
If I use constants to set these Properties, then it works right.
I type cast the input variables to the correct type, but still no help.
This VI checks syntax on a line by running it through ScanFromString.VI and capturing the offset from the offending characters.
Then it is supposed to use the offsets to highlight the offending characters in a copy of the input line.
No workie. The whole output string lights up instead of just the desired characters.
What's wrong with this VI?