Changing the way of handling current line.