Editor: Fix "Clean Whitespace" action.

Task-number: QTCREATORBUG-12451
Change-Id: I2e9c97d0aa9081268377b002698f7659fc39cdce
Reviewed-by: Christian Stenger <christian.stenger@digia.com>