Add a toggle for trimEmptyLines preference.