Fix using correct hard tab width for HTML export, not just LaTeX.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2873 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
ca9fbbc777
commit
c0ee8ae6e6
@ -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>
|
||||
|
@ -627,7 +627,7 @@ static void write_html_file(GeanyDocument *doc, const gchar *filename, gboolean
|
||||
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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user