Pass line number data to handleStateChanged()