Packages are not recognized for cwl highlighting if
two packages are loaded in one \usepackage
command; only the first package is recognized:
\usepackage{lipsum, blindtext} \lipsum \blindtext
the \usepackage
macro is broken across two lines:
\usepackage[someoption ]{lipsum} \usepackage{ blindtext} \lipsum \blindtext
txs can not understand commands which are broken over several lines.
This is a general limitation and is not considered as a bug.
Furthermore if you leave out the space before "blindtext" in usepackage, the txs parser works fine.
Last edit: Jan Sundermeyer 2013-09-17
Thanks, good to know! Nonetheless, then it’d be a feature request for TXS to recognize commands that are broken over several lines :)
white space problem fixed, multi line commands are not supported
Thanks! Is there any point in submitting a separate feature request for the multi line commands?
Feel free. It's good to have this documented. However, I can already tell you, that it won't be implemented in the foreseeable future, because this would require a complete rewrite of the parser, which is currently line-based.
Follow-up posted in [feature-requests:#549].
Related
Feature Requests:
#549Well, it does not hurt but it does not accelerate anything as the
developers are aware of the limitation. Since the fix is not easy, it
will probably not resolved soon ...
On 17.09.2013 22:58, doncherry wrote:
Related
Bugs:
#809