Skip to content

search: Do not highlight trailing newline in multiline structural search

Administrator requested to merge rvt/off-by-one-column-highlight into master

Created by: rvantonder

Previous to this change, multiline structural search highlights included the trailing newline of the last line, which would highlight the character in the 0th column on the next line. This change updates the line lengths to exclude the trailing newlines.

Test plan: Validated visually, updated the tests.

Merge request reports

Loading