Kaydet (Commit) 3c558f52 authored tarafından Nick Treleaven's avatar Nick Treleaven

Fix wrong snippet indentation when original cursor line has

non-indentation whitespace (patch by david, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5397 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 80799825
......@@ -3,6 +3,9 @@
* src/document.c:
Display better error messages when saving a document fails (patch by
Dimitar Zhekov, thanks).
* src/editor.c:
Fix wrong snippet indentation when original cursor line has
non-indentation whitespace (patch by david, thanks).
2010-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
......@@ -2729,6 +2729,8 @@ static gsize count_indent_size(GeanyEditor *editor, const gchar *base_indent)
case '\t':
count += tab_size;
break;
default:
return count;
}
}
return count;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment