LaTeXTools icon indicating copy to clipboard operation
LaTeXTools copied to clipboard

using "\comment" on latex breaks syntax highlight editor

Open LMBertholdo opened this issue 5 years ago • 1 comments
trafficstars

Every time I use "\comment{ ... }" syntax highlight stop working and all following text go as a comment ( Screen Shot 2020-09-02 at 23.54.27.pdf

Any idea how to fix this?

I am using this definition on tex \renewcommand\comment[1]{{\color{blue} \sffamily [xxx: #1]}}

LMBertholdo avatar Sep 03 '20 02:09 LMBertholdo

This is the syntax highlighting for the comment package. I think it ends with \endcomment. Unfortunately the highlighting is static and we just wanted to include often used packages. Therefore you will need to edit Tyne syntax file top change this.

r-stein avatar Sep 03 '20 17:09 r-stein