Kin69 / EasyNotes

EasyNotes: Jetpack Compose MVVM for seamless note-taking. Effortless creation, editing, and organization.
GNU General Public License v3.0
395 stars 30 forks source link

Markdown fix #46

Closed wadeack closed 5 months ago

wadeack commented 5 months ago

These changes should address issues mentioned in https://github.com/Kin69/EasyNotes/issues/45

  1. string replacement by range not search (caused multiple line update)
  2. add selected markdown at new line, not at the end of the file
  3. selection (input cursor location) is conditionally calculated (based on point 2)
  4. regex for checkbox includes start of the line w/o trim - for consistency with other markdown types
Kin69 commented 5 months ago

Thx once again!