Revision: 2873 http://geany.svn.sourceforge.net/geany/?rev=2873&view=rev Author: ntrel Date: 2008-08-11 16:44:19 +0000 (Mon, 11 Aug 2008)
Log Message: ----------- Fix using correct hard tab width for HTML export, not just LaTeX.
Modified Paths: -------------- trunk/ChangeLog trunk/plugins/export.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-08-11 16:31:36 UTC (rev 2872) +++ trunk/ChangeLog 2008-08-11 16:44:19 UTC (rev 2873) @@ -10,6 +10,8 @@ * src/editor.c: Break is_comment() into comment and string detection, each called in is_code_style(). + * plugins/export.c: + Fix using correct hard tab width for HTML export, not just LaTeX.
2008-08-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/plugins/export.c =================================================================== --- trunk/plugins/export.c 2008-08-11 16:31:36 UTC (rev 2872) +++ trunk/plugins/export.c 2008-08-11 16:44:19 UTC (rev 2873) @@ -627,7 +627,7 @@ case '\t': { gint j; - gint tab_width = p_editor->get_indent_prefs(editor)->tab_width; + gint tab_width = p_sci->get_tab_width(editor->sci); gint tab_stop = tab_width - (column % tab_width);
column += tab_stop - 1; /* -1 because we add 1 at the end of the loop */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.