From 7b65d76d5f6e5cad5ad0e8fe9a4c0a1653fec0cf Mon Sep 17 00:00:00 2001 From: Matthew Brush Date: Thu, 16 Aug 2012 17:46:18 -0700 Subject: [PATCH] Fix comment style and wording from last commit Don't use C99/C++ style comments and elaborate a bit on the purpose of the call. --- src/editor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/editor.c b/src/editor.c index 03f74c97c..4829ed85a 100644 --- a/src/editor.c +++ b/src/editor.c @@ -4656,7 +4656,9 @@ static ScintillaObject *create_new_sci(GeanyEditor *editor) sci = SCINTILLA(scintilla_new()); - // Code is usually in English, keep text direction LTR + /* Scintilla doesn't support RTL languages properly and is primarily + * intended to be used with LTR source code, so override the + * GTK+ default text direction for the Scintilla widget. */ gtk_widget_set_direction(GTK_WIDGET(sci), GTK_TEXT_DIR_LTR); gtk_widget_show(GTK_WIDGET(sci)); -- 2.11.4.GIT