|
From: | Cecilio Pardo |
Subject: | Re: Drawing UI elements behind text |
Date: | Wed, 27 Nov 2024 22:47:03 +0100 |
User-agent: | Mozilla Thunderbird |
On 27/11/2024 22:15, JD Smith wrote:
On Nov 27, 2024, at 1:58 PM, Eli Zaretskii <eliz@gnu.org> wrote: They are anchored at locations on the buffer, specified by line/column.Would it make sense to attach the drawn elements to text rather than row/column positions? Otherwise you may need to recompute and redraw the entire buffer’s line content even after inserting a single character. For concreteness, suppose you are drawing a fancy box around a paragraph.
Yes, that makes sense as an additional option. Maybe attach it to an overlay position + (x,y).
[Prev in Thread] | Current Thread | [Next in Thread] |