Ticket #4406 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

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.

Attachments

test.txt (80.6 KB) - added by al12345 2 years ago.
Screenshot_1.png (58.9 KB) - added by al12345 2 years ago.
Screenshot_2.png (56.8 KB) - added by al12345 2 years ago.
Screenshot_3.png (59.8 KB) - added by al12345 2 years ago.

Change History

Changed 2 years ago by al12345

Changed 2 years ago by al12345

Changed 2 years ago by al12345

Changed 2 years ago by al12345

comment:1 Changed 2 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to duplicate
  • Milestone Future Releases deleted

Closed as duplicate of #2132.

Note: See TracTickets for help on using tickets.