Skip to content

v0.2.7 — Replacement targets the previewed occurrence

Latest

Choose a tag to compare

@jonata jonata released this 28 Apr 15:21
· 3 commits to main since this release

Bugfix

  • Accepting a suggestion now replaces the exact occurrence shown in the context preview, not the first lexical match. Previously, when a phrase appeared inside an existing markdown link AND outside it, accepting wrapped the first hit — which was usually the one inside the link — producing nested broken patterns like `[Fedora Linux 44](/y)`. The replacement now uses an index from the same skip-zone-aware lookup the preview uses, so the displayed and replaced positions are guaranteed to match.
  • No more empty suggestion rows. Suggestions whose phrase has no plain-text occurrence the user can see (every match is inside a markdown link, URL, heading, or code block) are no longer rendered in the modal at all.

See the full CHANGELOG.