Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Add border to search decorations #8722

Merged
merged 5 commits into from
Nov 17, 2023
Merged

Conversation

bryclee
Copy link
Contributor

@bryclee bryclee commented Nov 10, 2023

What this PR does / why we need it:
Add border to search highlights, for themes that do not use background but use border instead to indicate find results

Which issue(s) this PR fixes
#7364

Special notes for your reviewer:
I saw some comments in the issue about refactoring the decoration, but as I don't have much context on the code, I went with the simple change to add the border as-is.
 
Screenshots using "Light High Contrast" theme:

Search (cursor is on line 1, run /test, current match is on line 2):
image
Search replace (cursor is on first word "that", running :s/test/replace/g):
image
Search append (cursor is on first word "test", running :s/this/that/g):
image

@bryclee bryclee changed the title Add border to search decorations Fiz: Add border to search decorations Nov 10, 2023
@bryclee bryclee changed the title Fiz: Add border to search decorations Fix: Add border to search decorations Nov 10, 2023
@J-Fields
Copy link
Member

Thank you!

@J-Fields J-Fields merged commit b1dd11c into VSCodeVim:master Nov 17, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants