Skip to content

Search Function scrolls vertically but not horizontally to display ALL of a match. #8804

@pgdownload

Description

@pgdownload

Description of the Issue

Search Function scrolls vertically but not horizontally to display ALL of a match.

Steps to Reproduce the Issue

  1. Have a long document
  2. Ensure some lines are longer than screen / window
  3. Start searching for a common term

Expected Behavior

The match is highlighted (Green) and you can see the whole match on the screen

IMO the FIND function should default to fully left scrolled every time the FIND NEXT button is hit (if the NEXT match after that one is not already on screen). Only if the next match is off the visible window should the screen be shifted to place it in the viewing area.

Actual Behavior

If just 1 pixel of the match is visible on the screen then the line is not scrolled horizontally to display it.
Horizontal scrolling is done if the match is completely off the screen.

image

Metadata

Metadata

Assignees

Labels

bugverifiedIssues verified to be valid and reproducible, PRs that have been tested thoroughly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions