SF.net SVN: geany: [1336] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sun Feb 25 17:27:46 UTC 2007


Revision: 1336
          http://svn.sourceforge.net/geany/?rev=1336&view=rev
Author:   eht16
Date:     2007-02-25 09:27:46 -0800 (Sun, 25 Feb 2007)

Log Message:
-----------
Auto complete multi line comments only when auto completion of constructs is enabled.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/sci_cb.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-02-25 16:33:44 UTC (rev 1335)
+++ trunk/ChangeLog	2007-02-25 17:27:46 UTC (rev 1336)
@@ -7,6 +7,8 @@
    commands and replace the selection with the output.
  * data/filetype_extensions.conf, src/filetypes.c:
    Added *.pod to Perl file patterns.
+ * src/sci_cb.c: Auto complete multi line comments only when auto
+                 completion of constructs is enabled.
 
 
 2007-02-25  Nick Treleaven  <nick.treleaven at btinternet.com>

Modified: trunk/src/sci_cb.c
===================================================================
--- trunk/src/sci_cb.c	2007-02-25 16:33:44 UTC (rev 1335)
+++ trunk/src/sci_cb.c	2007-02-25 17:27:46 UTC (rev 1336)
@@ -343,11 +343,14 @@
 			sci_add_text(sci, text);
 			g_free(text);
 		}
+	}
 
+	if (app->pref_editor_auto_complete_constructs)
+	{
+		auto_multiline(sci, pos); // " * " auto completion in multiline C/C++/D/Java comments
+
+		sci_cb_auto_latex(idx, pos);
 	}
-	// " * " auto completion in multiline C/C++/D/Java comments
-	auto_multiline(sci, pos);
-	if (app->pref_editor_auto_complete_constructs) sci_cb_auto_latex(idx, pos);
 }
 
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list