method
update_current_line

update_current_line(text)
private
Counts the number of newlines in the text and updates the current line accordingly.
update_current_line(text)
private
Counts the number of newlines in the text and updates the current line accordingly.