Editor: Optimize out viewport update.

Change-Id: If4661d68d30e5ba36efbba3376242631ec0402d4
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Editor: fix upper and lower case on blockselection.

Task-number: QTCREATORBUG-11546

Change-Id: I2e8b5b05ff0044e5ab159119f24dff873be949d7
Reviewed-by: Christian Stenger <christian.stenger@digia.com>