aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gtk/ScintillaGTK.cxx5
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) {