Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

First Find result not vertically centered in this case #3400

@redmunds

Description

@redmunds

I found a case where it seems like the Find results should be vertically centered, but it is not:

  1. Copy the text "addMeasurement" (without quotes) so that it's on your clipboard
  2. Open brackets.js
  3. Ctrl-End (or Cmd-down) to do to end of file
  4. Ctrl/Cmd-F to invoke Find dialog
  5. Ctrl-V to paste in search argument

Results:
Brackets auto-searches, finds the instance on line 109, and scrolls doc to line 109 is at the top of the editor

Expected:
Line 109 is vertically centered in editor as it is when you start same search from top of file.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions