Hello!
A strange behaviour occurs in my 2.11.2 installations (both: Win7 and Linux):
There is no syntax highlighting using the construction "\todo[...]{...}". Using "\todo{}" the highlighting is there as usual.
I have reinstalled 2.11.0 on Win7, and there were no problems with the highlighting, all was highlightend as defined.
This problems was also mentioned here: http://golatex.de/viewtopic,p,87566.html#87566
Thanks!
Damian
This is a regression of [bugs:#1789].
\todo
highlighting is currently implemented as an extension of the language definition. This is reg-ex based and this does not match well to the pattern of LaTeX commands. Maybe one should remove it from the language definition and highlight it dynamically instead when parsing the document.Related
Bugs:
#1789When fixing this I'd love to see support to be able to assign different colors for \missingfigure and \todo.
And if possible I'd also love to see support for couloring the todo items according to its options. Meaning: \todo[color=red]{...} should be red, \todo[color=yellow]{...} should be yellow and so on... But this is only the icing on the cake ;)
Please do not post feature requests into bug reports. They'll get lost since noone will look in here after the bug is fixed. Instead, open a separate feature request.
fixed: hg 6261 (b7ff4d056e3e)
todo highlighting is now based on cwl information (not on reg-exp-based language definition)