Steps to reproduce
- Have text with duplicate words
- Ctrl+H to start replacing
- Type in match and replacement words
- Click replace
Every occurence after the first match/replace to get highlighted whenever Obsidian goes to the next match.
Only the first match gets highlighted.
Obsidian version: v1.4.8
Installer version: v1.4.5
Operating system: Windows 10 Home 10.0.19045
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
First screenshot shows the match highlighted. The second screenshot shows the ‘lorem’ in the paragraph after the first one does not get highlighted once replace has been pressed in the first screenshot.
1.4.9 was just released for insiders. Worth updating?
Just did. Still there (tested with sandbox).
Is this specific to the current insider build?
I don’t know? I only have the insider build installed at the moment. I suspect it’s probably there in the public version as well (based on the fact that I do not even see CSS spans in the text block with the next match).
Ok, in the future don’t put the version in the thread title.
Adjusted. It’s a habit from dealing with many projects to help in categorising…
Confirmed on Mac in sandbox vault and on iOS in restricted mode after restart.
This behavior has existed for a while — I’m surprised there wasn’t already a bug report. It makes replacements very tricky.
Apparently it was fixed once long ago, tho maybe something else is behind the current bug. Replace button moves to the next instance but doesn't highlight it
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.