<p>Although it's already closed, the reason here is that jumping to the matching brace prefers the brace on the left that the one on the right.  As it can jump over <code><></code> pairs, on your 2nd example it tries to match the <code>></code> on the left of the cursor rather than the <code>{</code> on its right.  If you had a matching <code><</code> you'd see the cursor jumping to it.</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/762#issuecomment-157721811">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJwUkp_ZXsnSqZYnyXsS--6SJ7BSRks5pHHxlgaJpZM4GkMme.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/762#issuecomment-157721811"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>