Skip to content

Comments

All: Fix text highlighting in basic search mode#13703

Merged
laurent22 merged 4 commits intolaurent22:devfrom
wh201906:wh201906/basic-search-highlight
Nov 17, 2025
Merged

All: Fix text highlighting in basic search mode#13703
laurent22 merged 4 commits intolaurent22:devfrom
wh201906:wh201906/basic-search-highlight

Conversation

@wh201906
Copy link
Contributor

The text highlighting doesn't work in basic search mode (with "/" prefix)
image
image

I found the "/" prefix is removed in SearchEngineUtils.notesForQuery(), but the highlight related logic only uses SearchEngine.parseQuery() to get the words supposed to be highlighted. I move the pre-processing code from notesForQuery() to SearchEngine.parseQuery() to get a consistent result.

@laurent22 laurent22 merged commit c67dceb into laurent22:dev Nov 17, 2025
16 of 17 checks passed
@wh201906 wh201906 deleted the wh201906/basic-search-highlight branch November 22, 2025 07:58
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.

3 participants