fix console highlighting of lines added one by one, dispose range marker