In RTL languages, the text is aligned to the left, but curly braces
are flipped. (right brace looks like left brace and vice versa)
For example, the following code:
int main(int argc, char **argv)
is shown like this in RTL languages:
int main)int argc, char **argv(
The bug exists in Anjuta (with Scintilla plugin) and in MonoDevelop.
The bug was fixed in Geany: http://git.geany.org/geany/commit/src/editor.c?id=e1a1c54d784c3285b536f1608bb98e1355094644
I attached a proposed patch that fixes the bug in anjuta-extras.