Open arthur-star opened 4 years ago
I will try to fix this at a later point. The reason why it shows one line is that we are using the same library for editing and displaying code so I guess that they "add" one line so that you would have something to type on. We do set it to read only, but yeah.
I have been looking at alternatives but haven't found any good ones.
Description
Empty file should show zero line count
Versions and device
Steps to Reproduce
open an empty file -- for example
https://github.com/arthur-star/Empty-demo/blob/master/zero-line
the line count shows one, not zero
Actual behaviour
the line count shows one
Expected behaviour
the line count shows zero