Disable automatic switch of line numbers

Fixes #296