In a <b>Java</b> file with the cursor positioned as shown:
(1) Bracket jumping with <b>ctrl-B</b> works:
![matchingbrackets1](https://cloud.githubusercontent.com/assets/7548378/11224906/30474f14-8d6f-11...)
(2) Bracket jumping with <b>ctrl-B</b> does not work:
![matchingbrackets2](https://cloud.githubusercontent.com/assets/7548378/11224907/304a53c6-8d6f-11...)
(3) Bracket jumping with <b>ctrl-B</b> works again:
![matchingbrackets3](https://cloud.githubusercontent.com/assets/7548378/11224908/304b8110-8d6f-11...)
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/762
Closed #762.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/762#event-467213278
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 `<>` pairs, on your 2nd example it tries to match the `>` on the left of the cursor rather than the `{` on its right. If you had a matching `<` you'd see the cursor jumping to it.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/762#issuecomment-157721811
github-comments@lists.geany.org