[geany/geany] 7b65d7: Fix comment style and wording from last commit

Matthew Brush git-noreply at xxxxx
Fri Aug 17 00:52:22 UTC 2012


Branch:      refs/heads/master
Author:      Matthew Brush <matt at geany.org>
Committer:   Matthew Brush <matt at geany.org>
Date:        Fri, 17 Aug 2012 00:52:22
Commit:      7b65d76d5f6e5cad5ad0e8fe9a4c0a1653fec0cf
             https://github.com/geany/geany/commit/7b65d76d5f6e5cad5ad0e8fe9a4c0a1653fec0cf

Log Message:
-----------
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.


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

Modified: src/editor.c
4 files changed, 3 insertions(+), 1 deletions(-)
===================================================================
@@ -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));


@@ 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