Kaydet (Commit) 3d4aea44 authored tarafından Enrico Tröger's avatar Enrico Tröger

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


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@745 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 312579d7
......@@ -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@btinternet.com>
......
......@@ -1102,6 +1102,8 @@ void sci_cb_do_comment(gint idx)
// 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 @@ void sci_cb_do_comment(gint idx)
default: return;
}
if (do_continue) continue;
*/
if (ft->comment_use_indent)
sci_insert_text(doc_list[idx].sci, line_start + x, co);
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment