Browse Source

Fixed last line search

Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
master
Rémi BERTHO 4 years ago
parent
commit
8bf32f65a5
Signed by: dalan GPG Key ID: EE3B917931C07B64
  1. 1
      SSnR.py

1
SSnR.py

@ -236,6 +236,7 @@ def find_line(begin_pos, end_pos, new_lines):
return num_line, begin_pos - old_pos_line + 1, end_pos - old_pos_line
num_line += 1
old_pos_line = pos_line
return num_line, begin_pos - old_pos_line + 1, end_pos - old_pos_line
if __name__ == '__main__':

Loading…
Cancel
Save