mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-08 01:20:59 +00:00
Find and Replace matched each style run on its own, and the whole-word test looked only at the characters inside the run, so a run's end read as a word boundary: with cat coloured red in catfish, a Whole Word search for cat replaced it. The test now looks past the run's ends at the characters next to it in the neighbouring runs. Matches still stay inside one run, as the command documents. Fixes #5901