chhoumann / MetaEdit

MetaEdit for Obsidian
https://bagerbach.com
GNU General Public License v3.0
410 stars 17 forks source link

[BUG] When editing the first item in a list, the rest of the list is overriden #81

Open Nusnus opened 2 years ago

Nusnus commented 2 years ago

Steps to reproduce:

  1. I have this line in my file: >> - 🏷️ Tags:: #a, #b, #c, #d
CleanShot 2022-10-02 at 00 57 52@2x
  1. Use MetaEdit to modify it
CleanShot 2022-10-02 at 00 59 08@2x
  1. Choose #b
CleanShot 2022-10-02 at 00 59 49@2x
  1. Change to #B
CleanShot 2022-10-02 at 01 00 16@2x

All is good, line was changed accordingly: >> - 🏷️ Tags:: #a, #B, #c, #d

Now that we confirmed non-first item works, let's do the same for #a

  1. CleanShot 2022-10-02 at 01 01 35@2x
  2. CleanShot 2022-10-02 at 01 02 06@2x

BUG! The line was changed from >> - 🏷️ Tags:: #a, #B, #c, #d to >> - 🏷️ Tags:: #A

Using MetaEdit Version 1.7.2 Obsidian Version 0.15.9 Theme Primary