Updates the lines controller to respect changes to Text.