emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 6e5d79c048: Display show-paren-context-when-offscreen in chil


From: martin rudalics
Subject: Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame
Date: Wed, 9 Feb 2022 19:22:20 +0100

> Another advantage of using an overlay is that it wraps correctly and
> doesn't overwrite the scrollbar or a wrapped tool bar on the no-toolkit
> build.

You can always put a child frame at exactly the same position as an
overlay, give it the same extent or wrap its text in the same manner.

The same doesn't hold in the opposite direction: You can make a child
frame "overlay" an arbitrary rectangle within the "parent window".  On
many platforms you can make the child frame transparent.  And, using
'window-lines-pixel-dimensions', you can have Emacs find a rectangle
where to put your child frame in a way that doesn't obscure any buffer
text at all.

martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]