Text this: On the effect of electric and magnetic fields on spectral lines