Ticket #4406 (closed defect: duplicate)
Internal viewer does not navigate to the precise search "found" point
Reported by: | al12345 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mcview | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
In internal viewer (mcview):
When viewing a text file with quite long lines, not fitting in a single screen, search for a fragment does not navigate to the found fragment point, but rather displays a beginning of the line.
Attached is a file "test.txt" containing 3 long lines:
1) Line 1 ..............<many '.'s>...12345678.......<many '.'s>.....
2) Line 2 --------------<many '-'s>---12345678-------<many '-'s>-----
3) Line 3 ==============<many '='s>===12345678=======<many '-'s>=====
When viewing in the wrapped or unwrapped modes, and searching for 12345678, search results are displayed as beginnings of the lines 1, 2 and 3, instead of being navigated to the "12345678" fragments - see attached Screenchot_N.png files.