Update quantities in view when setting whole script
Analyser now handles lines only containing \s characters as well