It seems there may be an issue surrounding selecting text (only tested with CSS) in the syntax editor using Selection.TextRange with a new TextRange(index, offset) object.
I have the following scenario:
I can send through a sample project if need be.
Thanks.
I have the following scenario:
- Read a stylesheet into the system
- Use Regex to get each rule in the stylesheet along with their indexes and length
- Set the syntax editor text to the stylesheet
- When I set the Selection.TextRange to a new TextRange using the index and length found using regex the selection length is a few characters to long.
I can send through a sample project if need be.
Thanks.