stefankueng / grepWin

A powerful and fast search tool using regular expressions
https://tools.stefankueng.com/grepWin.html
GNU General Public License v3.0
1.72k stars 179 forks source link

Highlighting of matching text in content is off by 1 char to the right #488

Closed dougsHCSD closed 2 months ago

dougsHCSD commented 2 months ago

When the "content" button is selected for Search Results, the searched for text is highlighted. However, the highlighting is shifted one character to the right.

Let's say we search for |12345| and a file contains ZZZ|12345|abc . The highlighting will cover 12345|a rather than |12345|

This is seen with grepWin version 2.1.2.1348 dated 2024/06/22 13:58:18