elementary / elementary/code

Search matches should scroll to the middle of the screen when possible

Open
#970 0 comments 0 reactions 0 assignees View on GitHub
Needs Design Priority: Wishlist
Dominant language
Vala
Stars
521
Forks
118
Avg merge
1d 8h
Merged PRs (30d)
14

Description

## Problem
Pressing `g` to locate the next match only scrolls the window a minimum amount to get match on screen - usually the bottom line. It would be more convenient to scroll it to nearer the middle of the screen where the eye naturally looks and would allow sight of all the context.

## Proposal
Use the `within_margin` parameter to scroll nearer the centre of the screen

## Prior Art

Geany does this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.