T4Editor icon indicating copy to clipboard operation
T4Editor copied to clipboard

The ¦ char in T4 output breaks code-coloring

Open daiplusplus opened this issue 10 months ago • 2 comments

I noticed when I type a ¦ character into the plaintext/output part of a T4 script (i.e. not in a <# block) it causes the extension to lose syntax coloring of that run of text. This also happens when reloading a T4 file with those chars in it.

In the screenshot below, observe that I have Output set to ForestGreen, which is used for most of the output text runs on the right-hand editor pane - but notice that whenever an output run has ¦ in it the editor will render the text as black-on-white and not ForestGreen-on-white.

(I use the ¦ char to denote an alignment point which is used by a tool I wrote).

image

daiplusplus avatar Aug 15 '23 01:08 daiplusplus