
Hello,
I am trying to replace all words that are between curly brackets ({{my_word}}) with a custom user control in the syntax editor.
I've started with the "Collapsed Region Advanced" sample and I managed to implement a working solution.
However, when I set the IsViewLineMeasureEnabled option to true everything breaks, and the user control is created and destroyed in an infinite loop.
Is there anything I can do to get this working while keeping the syntax editor resizable? If not, is there anything compatible with the IsViewLineMeasureEnabled option that helps me achieve this functionality?
Thanks,
Alex