code
code copied to clipboard
Markdown numbered list auto-completion deletes text
What Happened?
Numbered list autocomplete in markdown can erase text sometimes.
Steps to Reproduce
Let's say we are typing a list and happen to have text after that
1. Do that important thing
2. Do another important thing
Himinez et al. mention that doing importantant things in a timely manner is important.
If we add a newline to the list, the following text gets deleted:
1. Do that important thing
2. Do another important thing <return>
3. <cursor here now>
4l. mention that doing importantant things in a timely manner is important.
Expected Behavior
I would expect text to not be deleted unintentionally.
Perhaps a guard preventing matching alphabetical strings to the numbered list would mitigate the issue.
Otherwise, I do like the functionality of the numbered list auto-formatting.
OS Version
7.x (Horus)
Session Type
Classic Session (X11, This is the default)
Software Version
Latest release (I have run all updates)