SF.net SVN: geany:[3562] trunk

frlan at users.sourceforge.net frlan at xxxxx
Sun Feb 8 13:01:44 UTC 2009


Revision: 3562
          http://geany.svn.sourceforge.net/geany/?rev=3562&view=rev
Author:   frlan
Date:     2009-02-08 13:01:44 +0000 (Sun, 08 Feb 2009)

Log Message:
-----------
Don't put closing td tag into a new line during auto completion of a
HTML table

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-02-07 11:32:11 UTC (rev 3561)
+++ trunk/ChangeLog	2009-02-08 13:01:44 UTC (rev 3562)
@@ -1,3 +1,10 @@
+2009-02-08  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * src/editor.c:
+   Don't put closing td tag into a new line during auto completion of a
+   HTML table.
+
+
 2009-02-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * src/main.c:

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2009-02-07 11:32:11 UTC (rev 3561)
+++ trunk/src/editor.c	2009-02-08 13:01:44 UTC (rev 3562)
@@ -3,6 +3,7 @@
  *
  *      Copyright 2005-2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
  *      Copyright 2006-2009 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+ *      Copyright 2009      Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
  *
  *      This program is free software; you can redistribute it and/or modify
  *      it under the terms of the GNU General Public License as published by
@@ -2249,8 +2250,7 @@
 		indent_str = "\t";
 
 	table = g_strconcat("\n", indent_str, "<tr>\n",
-						indent_str, indent_str, "<td>\n",
-						indent_str, indent_str, "</td>\n",
+						indent_str, indent_str, "<td> </td>\n",
 						indent_str, "</tr>\n",
 						NULL);
 	editor_insert_text_block(editor, table, pos, -1,


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