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
This commit is contained in:
parent
80799825bd
commit
3c558f52c5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user