On the following window:
Run the following script to place '---'
above and '+++'
below on each line:
let vt = 'test'
call prop_type_delete(vt)
call prop_type_add(vt, {'highlight': 'ToDo'})
for ln in range(1, line('$'))
call prop_add(ln, 0, {'type': vt, 'text': '---', 'text_align': 'above'})
call prop_add(ln, 0, {'type': vt, 'text': '+++', 'text_align': 'below'})
endfor
The empty lines on both line 2 and 4 are gone. Then the line number appears on the virtual text and the cursor appears out of last line 5.
The empty lines should be left displayed as well.
9.0.1291
Windows 10
No response
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Closed #11959 as completed via 9d9a20e.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Thank you for your immediate fixing, but I still see some problem.
Then &list is set, the screen gets corrupted.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Thanks again, but I still see another problem.
If text is a single character and draw the "below" virtual line.
Then &list is set, all the virtual lines are gone.
If "above", looks like no problem.
And if "below", the problem happens only if text is 1 or 2 characters.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
I'll have a look at the other problems when I have time.
Note that this issue is already closed, adding more problems to it is confusing.
Next time please open a new issue, with reproduction steps.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Re-opening for the remaining problem mentioned.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Reopened #11959.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Closed #11959 as completed via da0c913.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.