Skip to content

Conversation

@UUGTech
Copy link
Contributor

@UUGTech UUGTech commented Jun 22, 2023

Sorry.
When I tried to implement fuzzy_find in other content, I found a bug in fuzzy_find_popup.rs.

The hit highlighting is wrong in long strings due to the effect of trimming.

Before Fix
スクリーンショット 2023-06-22 22 23 14

After Fix
スクリーンショット 2023-06-22 22 14 01

I followed the checklist:

  • I added unittests
  • I ran make check without errors
  • I tested the overall application
  • I added an appropriate item to the changelog

@UUGTech UUGTech changed the title fixed wrong highlight in long str fixed wrong fuzzy-find highlight in long str Jun 22, 2023
@UUGTech UUGTech marked this pull request as draft June 26, 2023 13:50
@UUGTech
Copy link
Contributor Author

UUGTech commented Jun 26, 2023

I found I need to fix this in order to support multibyte characters.
Until then, this PR will be drafted.

@UUGTech UUGTech marked this pull request as ready for review July 5, 2023 02:36
@extrawurst extrawurst merged commit b4450f9 into gitui-org:master Jul 6, 2023
@extrawurst
Copy link
Collaborator

thanks so much!

IndianBoy42 pushed a commit to IndianBoy42/gitui that referenced this pull request Jun 4, 2024
* fixed wrong highlight in long str
* support multibyte characters
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