diff options
author | Yosef Or Boczko <yosefor3@walla.com> | 2013-05-23 18:16:41 +1000 |
---|---|---|
committer | Yosef Or Boczko <yosefor3@walla.com> | 2013-05-23 18:16:41 +1000 |
commit | 792b2b16f84c22392c6a7fc5b545c3a3e690d9bc (patch) | |
tree | fe5d9bfee81722e4179275607a0e171434cd3d42 | |
parent | 22a74a07936115dae5c307e92b18a90521432c4c (diff) | |
download | scintilla-mirror-792b2b16f84c22392c6a7fc5b545c3a3e690d9bc.tar.gz |
Always display editor text in LTR direction
-rw-r--r-- | gtk/ScintillaGTK.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index f744d4fbd..77693781e 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2930,7 +2930,10 @@ static void scintilla_init(ScintillaObject *sci) { } GtkWidget* scintilla_new() { - return GTK_WIDGET(g_object_new(scintilla_get_type(), NULL)); + GtkWidget *widget = GTK_WIDGET(g_object_new(scintilla_get_type(), NULL)); + gtk_widget_set_direction(widget, GTK_TEXT_DIR_LTR); + + return widget; } void scintilla_set_id(ScintillaObject *sci, uptr_t id) { |