[geany/geany] e1a1c5: Keep code direction LTR

Yosef Or git-noreply at xxxxx
Fri Aug 17 00:37:01 UTC 2012


Branch:      refs/heads/master
Author:      Yosef Or <Yosefor3 at walla.com>
Committer:   Matthew Brush <matt at geany.org>
Date:        Fri, 17 Aug 2012 00:37:01
Commit:      e1a1c54d784c3285b536f1608bb98e1355094644
             https://github.com/geany/geany/commit/e1a1c54d784c3285b536f1608bb98e1355094644

Log Message:
-----------
Keep code direction LTR


Modified Paths:
--------------
    src/editor.c

Modified: src/editor.c
3 files changed, 3 insertions(+), 0 deletions(-)
===================================================================
@@ -4656,6 +4656,9 @@ static ScintillaObject *create_new_sci(GeanyEditor *editor)
 
 	sci = SCINTILLA(scintilla_new());
 
+	// Code is usually in English, keep text direction LTR
+	gtk_widget_set_direction(GTK_WIDGET(sci), GTK_TEXT_DIR_LTR);
+
 	gtk_widget_show(GTK_WIDGET(sci));
 
 	sci_set_codepage(sci, SC_CP_UTF8);


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Commits mailing list