Fixed some bad behaviour in the way TextManipulator works with multiple line selections