remove unneeded params from visitLines
use a space to measure an empty one-liner