-
-
Notifications
You must be signed in to change notification settings - Fork 183
Description
I am running notediscovery on my linux server. I accessed it on my windows host via firefox. I dont have any other possible combination at the moment but i am pretty sure this is reproducible.
There are some, let's call them, malformed markdown lines that fuck up the editor.
And when I say fuck the editor up I mean: It is like the text that I read on the editor panel is just a visual representation of a real editor that contains the real cursor and with the right malformed markdown lines those two reseprentation of the file do not match anymore; that is when I type a character in a certain line in reality I'm typing that character on another line. I realized that when I selected lines.
A kind of text that break this is this one. I needed to retype it by hand since when I select the text I select another text:
# Header Header Header
## HeaderTwo
### HeaderThree
####
## AfterMalformed
WIP
# ## MALFORMED
line1
line2
alice
bob
charlie
darma
ethan
francis
giovanni
hector
isabel
john
kevin
luke
manuel
Notice the line with only four pound characters '#'.
Notice the empty lines after that line with 4 pounds are TWO, they will renderes as THREE (see below).
Notice the line with <pound><Space><pound><pound><Space>MALFORMED; I guess this is considered malformed.
When I select from the absolute first char of the file to the middle of the word "AfterMalformed" nothing there in reality is selected.
When I select from the fist char of the file to the list of names I can see that the selected text is offset from the "printed" text.
The product of the selected text is, instead, this one:
# Header Header Header
## HeaderTwo
### HeaderThree
####
## AfterMalformed
WIP
#
## MALFORMED
line1
line2
alice
bob
charlie
darma
ethan
francis
giovanni
hector
isabel
john
kevin
luke
manuel
Let me know if this is reproducible.