Add missing erasing of invalid line flags
This commit is contained in:
parent
d2b0dba39d
commit
ac5bc7e95d
|
@ -940,6 +940,7 @@ HighlighterAndId create_flag_lines_highlighter(HighlighterParameters params)
|
||||||
*ins_pos = std::move(*it);
|
*ins_pos = std::move(*it);
|
||||||
++ins_pos;
|
++ins_pos;
|
||||||
}
|
}
|
||||||
|
lines.erase(ins_pos, lines.end());
|
||||||
line_flags.timestamp = buffer.timestamp();
|
line_flags.timestamp = buffer.timestamp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user