Problem: Virtual text property IDs are not recycled after deletion,
causing b_textprop_text growarray to grow indefinitely when
properties are repeatedly added and removed.
Solution: Scan for NULL entries in b_textprop_text to find reusable IDs
in get_textprop_id(), and reuse existing slots in
prop_add_one() when a recycled ID is returned.
Fixes: #19681
https://github.com/vim/vim/pull/19823
(2 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Thanks, but I think this is already part of #19685
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@chrisbra is correct. #19685 removes b_textprop_text.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
First, I believe that bugs that can be addressed individually should be fixed on a case-by-case basis.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()