Kittyfisto / Tailviewer

Open source log file viewer
https://kittyfisto.github.io/Tailviewer/
MIT License
200 stars 37 forks source link

Tabs in logfile messes up search highlighting #244

Closed zigurana closed 3 years ago

zigurana commented 3 years ago

Current behaviour

When searching in a file, the found entries cause highlighting of the text, but at an offset of the matches, see screenshot. image

This effect depends on the amount of tabs found in the line.

Expected behaviour

Highlights overlaps with found match, independent of tabs being present or not.

Steps to reproduce the problem

Open minimal example file (attached), search for 'tab', observe highlighting minimal_example.txt

PS: likely related to: https://github.com/Kittyfisto/Tailviewer/issues/44, but a different symptom

Kittyfisto commented 3 years ago

@zigurana Thank you for reporting and analysing this issue. I've found the mistake and should have a bugfix ready soon.

Kittyfisto commented 3 years ago

@zigurana This bug has been fixed with Tailviewer v0.9.3.892 and will be part of the next Tailviewer release.