SF.net SVN: geany: [745] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sat Aug 19 14:46:20 UTC 2006


Revision: 745
Author:   eht16
Date:     2006-08-19 07:46:04 -0700 (Sat, 19 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/geany/?rev=745&view=rev

Log Message:
-----------
Comment already commented lines, too (re-closes #1521714).

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/sci_cb.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-08-19 12:56:30 UTC (rev 744)
+++ trunk/ChangeLog	2006-08-19 14:46:04 UTC (rev 745)
@@ -6,6 +6,8 @@
  * src/dialogs.c, src/callbacks.c:
    Replaced dialogs_show_make_target() by dialogs_show_input() to have
    a general input dialog.
+ * src/sci_cb.c:
+   Comment already commented lines, too (re-closes #1521714).
 
 
 2006-08-19  Nick Treleaven  <nick.treleaven at btinternet.com>

Modified: trunk/src/sci_cb.c
===================================================================
--- trunk/src/sci_cb.c	2006-08-19 12:56:30 UTC (rev 744)
+++ trunk/src/sci_cb.c	2006-08-19 14:46:04 UTC (rev 745)
@@ -1102,6 +1102,8 @@
 			// use single line comment
 			if (cc == NULL || strlen(cc) == 0)
 			{
+				/* disabled because of #1521714, it makes sense to double(or triple, ...) comment
+				*  if someone think it is not that good we could introduce a config option for it
 				gboolean do_continue = FALSE;
 				switch (strlen(co))
 				{
@@ -1112,7 +1114,7 @@
 					default: return;
 				}
 				if (do_continue) continue;
-
+				*/
 				if (ft->comment_use_indent)
 					sci_insert_text(doc_list[idx].sci, line_start + x, co);
 				else


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