On Mon, 18 Dec 2017, Pablo Rodriguez wrote:

   \definetype[context][option=tex]
   \definetype[lua][option=lua]
   \starttext
   \startTEXpage[offset=2em]

   a \TEX\ inline comment: \context{ag%befe}

   \Lua\ inline comment: \lua{agb --efe}

   \startTEX
   This is text. % a comment, not \comment
   \stopTEX

   \startXML
   <p>This is text.<!--and this is a comment--></p>
   \stopXML

   \startLUA
   if code=="code" then --this is a comment
   \stopLUA
   \stopTEXpage
   \stoptext

Would it be possible that all comments in type and typing (at least, for
Lua, XML and TeX) would have the same formatting for the whole comment
contents, including the comment signs?

Sorry, but with the current output, it is hard to see (for total
newbies) what is part of the comment and what not. And the text editor
will display something different.

I’m afraid that the scite module isn’t an option for me.

t-vim parses this correctly, but IIRC, you don't want to use the vim module either, right?

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to