elementary / elementary/code

Highlight word selection: Does not work when reselecting the same word

Open
#1,483 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
521
Forks
118
Avg merge
1d 8h
Merged PRs (30d)
14

Description

### What Happened?

Selected a word - others were highlighted. Then clicked elsewhere in the doc so the selection (and highlighting) was lost. Reselected the same word - no highlighting occurred. Selected a different word - highlighting occurred.

### Steps to Reproduce

1. Open a doc with multiple occurrences of a word
2. Turn on word highlighting plugin
3. Select target word
4. Deselect by clicking elsewhere
5. Reselect target word
6. Observe that highlighting no longer occurs.

### Expected Behavior

Highlighting of other occurrences of selected word happens regardless of past actions.

### OS Version

7.x (Horus)

### Session Type

Classic Session (X11, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

_No response_

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.