Whitespace
Use `doc.eachline` instead of for loop
Update code mirror with tab settings before indenting
Comment
Inline the current indent settings
Merge branch 'update'