Version: 2.1.0 (using KDE 4.7.3)
Everything inside a minted environment is treated as normal text, when it should be treated as verbatim.
Steps to Reproduce:
Just paste this code into a .tex file within kile
<?php $hello = "world" ?>
The dollar sign ($) is treated as "math mode", and all the highlighting after that goes green. (which should be fine, if it werent a verbatim envirnoment)
The best would be if kile highlighted the code depending on the paramater of the minted environment. In this case, highlight it as php. I know this can be a lot of work (considering all the possible languages minted has available!) so higlighting it as standard verbatim should be fine too.
A workaround has already been posted on the community at http://www.latex-community.org/forum/viewtopic.php?f=20&t=206, but i feel its not the optimal way of solving this.
fixed, please ship :D
Git commit 6aea10d62b6558a657c6385416c7d477ae67cba6 by Michel Ludwig.
Committed on 10/12/2012 at 20:37.
Pushed by mludwig into branch 'master'.
Add support for the LaTeX environment (and command) 'minted'
Patch by Phil Schaf <email@example.com>.
M +12 -4 part/syntax/data/latex.xml