<p>Looks ok by inspection, not tested.</p>
<p>A couple of suggestions for improvement:</p>
<ol>
<li>
<p>include <code><></code> if the <code>brace_match_ltgt</code> is set</p>
</li>
<li>
<p>the search for <code>]})</code> will find those characters in comments and strings so the selection is probably not what the user intended.  Not sure how to cure that though 3. will mitigate it somewhat.</p>
</li>
<li>
<p>check if the cursor is in a position where a pair of brackets are already highlighted and use that pair instead of searching</p>
</li>
</ol>
<p>If you don't want to do these in this PR thats fine, please copy them into a future improvements issue.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2264?email_source=notifications&email_token=AAIOWJ4V2R3RNJJ624PYJ4DQKVXELA5CNFSM4INYC7GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IHGRQ#issuecomment-533754694">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2LMSFFFZBDCWYPQLDQKVXELANCNFSM4INYC7GA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3NDITY2BL6MF6IYNTQKVXELA5CNFSM4INYC7GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IHGRQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2264?email_source=notifications\u0026email_token=AAIOWJ4V2R3RNJJ624PYJ4DQKVXELA5CNFSM4INYC7GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IHGRQ#issuecomment-533754694",
"url": "https://github.com/geany/geany/pull/2264?email_source=notifications\u0026email_token=AAIOWJ4V2R3RNJJ624PYJ4DQKVXELA5CNFSM4INYC7GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IHGRQ#issuecomment-533754694",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>