Doc fixes
Improve lang.stringRepeat function perfomance
Display spaces, text layer little perfomance fixes
small cleanup
Merge pull request #1198 from danyaPostfactum/whitespaces

Display spaces when showInvisibles is on
fix tests