<p></p>
<p dir="auto">Unfortunately <a href="https://www.scintilla.org/index.html" rel="nofollow">Scintilla</a>, the editing widget Geany uses says this about RTL support "Scintilla provides only limited experimental support on Windows for right-to-left languages like Arabic and Hebrew. While text in these languages may appear correct, interaction with this text may not work correctly as occurs with other editors.".</p>
<p dir="auto">You don't say what your system is, but it appears to be Linux.</p>
<p dir="auto">It appears that on Linux using a RTL locale also confuses LTR text near closing brackets.  Try with Scite (the reference editor for Scintilla) 5.1.6 should use the same Scintilla as Geany git and if it fails you could report it to Scintilla.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/3101#issuecomment-1013770133">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2EB74KZFKGIQGPN5LUWH6TFANCNFSM5MBLGG4Q">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJYGRUJHH7JU7RGTFKLUWH6TFA5CNFSM5MBLGG42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHRWOPFI.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/issues/3101/1013770133</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/3101#issuecomment-1013770133",
"url": "https://github.com/geany/geany/issues/3101#issuecomment-1013770133",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>