elementary / code

Code editor designed for elementary OS
https://elementary.io
GNU General Public License v3.0
480 stars 112 forks source link

Certain word selections are not highlighted by plugin #1469

Open jeremypw opened 1 month ago

jeremypw commented 1 month ago

What Happened?

Some strings of characters do not highlight as expected when selected.

Steps to Reproduce

  1. Open a document and type Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2build1.amd64 at two different points.
  2. Ensure word selection highlighting plugin is active
  3. Progressively select from the first occurrence - the corresponding words in the second occurrence should highlight.
  4. At the point the "+" character is included in the selection, the highlighting fails.

Expected Behavior

The selected string should be highlighted when it occurs elsewhere in the document regardless of its contents.

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