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:
parent
99fc2a43de
commit
f87cb49e2d
@ -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>
|
2009-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||||
|
|
||||||
* src/main.c:
|
* src/main.c:
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright 2005-2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
* 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 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
|
* 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
|
* 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";
|
indent_str = "\t";
|
||||||
|
|
||||||
table = g_strconcat("\n", indent_str, "<tr>\n",
|
table = g_strconcat("\n", indent_str, "<tr>\n",
|
||||||
indent_str, indent_str, "<td>\n",
|
indent_str, indent_str, "<td> </td>\n",
|
||||||
indent_str, indent_str, "</td>\n",
|
|
||||||
indent_str, "</tr>\n",
|
indent_str, "</tr>\n",
|
||||||
NULL);
|
NULL);
|
||||||
editor_insert_text_block(editor, table, pos, -1,
|
editor_insert_text_block(editor, table, pos, -1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user