Toggle line numbers and whitespace chars correctly