#8 Indent does not follow global tab settings

all_versions
open
5
2013-01-25
2011-05-04
Jari Pennanen
No

Reproducing the bug:
1. Settings -> Preferences
2. Go to tab "Language Menu/Tab Settings"
3. Turn on "Replace by space"

4. Create new document.
5. Write "html:5" and expand, it still gives the content in hard coded one tab indentation.

Proposed fix:
1. When expanding snippet look for tab characters in beginning of lines.
2. Replace these tabs with appropriate global settings.
(This requires that all presaved snippets use Tab character as indentation)

Discussion