hadynz / obsidian-sidekick

A companion to identify hidden connections that match your tags and pages
134 stars 9 forks source link

Bug: Highlights move when typing before it #21

Open HEmile opened 2 years ago

HEmile commented 2 years ago

When adding text before some highlighted text through Sidekick, the highlight moves (ie their position is not properly adjusted). I suppose this is a live preview updating mistake.

https://user-images.githubusercontent.com/1289165/155120035-fcf15a23-3587-4965-830f-5e19c05e2bf1.mov

As an extra less-important bug report, hierarchical tags should probably not be highlighted (ie if I have a #paper tag, #source/paper should probably not be highlighted like this.

hadynz commented 2 years ago

As an extra less-important bug report, hierarchical tags should probably not be highlighted (ie if I have a #paper tag, #source/paper should probably not be highlighted like this.

Do you mind if you create this as a separate GitHub issue please? I think I follow you mean, but if you can clarify the issue with hierarchial tags it will help me pick it up and fix it quickly.