<p>I don't know LaTeX, but I guess it could be possible to recognize some stuff can't be part of the optional arguments maybe?<br>
BTW, this is the same as SF bug <a href="https://sourceforge.net/p/geany/bugs/1087/">https://sourceforge.net/p/geany/bugs/1087/</a>, and is already forwarded to Scintlla as <a href="https://sourceforge.net/p/scintilla/bugs/1690/">https://sourceforge.net/p/scintilla/bugs/1690/</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/859#issuecomment-170269092">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJz9XTiyLGGGlohl0s7ViYZlP8eFVks5pYU1lgaJpZM4HBHzD.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/859#issuecomment-170269092"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>