Don't put closing td tag into a new line during auto completion of a

HTML table

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3562 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Frank Lanitz 2009-02-08 13:01:44 +00:00
parent 99fc2a43de
commit f87cb49e2d
2 changed files with 9 additions and 2 deletions

View File

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

View File

@ -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 @@ static void auto_table(GeanyEditor *editor, gint pos)
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,