Closed mbertucci47 closed 2 years ago
can you add the example. Not keen on copying by hand.
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{itemize}[label=$\diamond$]
\item text
\end{itemize}
\begin{itemize}[label={$\diamond$}]
\item text
\end{itemize}
\end{document}
With 4.8.3alpha1 this problem seems to have resurfaced. The example above now displays the same as it did before https://github.com/texstudio-org/texstudio/commit/6274fe778e3d0c2cae1f1e44eced759df2be9ce9
Environment
Description
Math is not always correctly highlighted in keyvals. For example,
The dollar signs are not highlighted and it doesn't recognize the content as in a math environment. Braces fix the highlighting but the first should still be valid. This behavior occurs wherever you have
key=%<value%>
in a cwl, and regardless of whether the command was specified with a#c
in the#keyvals: ... #endkeyvals
structure.