bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#27427: 26.0.50; Native line numbers lead to display error in company


From: martin rudalics
Subject: bug#27427: 26.0.50; Native line numbers lead to display error in company-mode popup
Date: Mon, 26 Jun 2017 10:23:44 +0200

> Without going into details, how do I figure out the width which line
> number glyphs are taking up? Any way to do that without calling
> posn-at-point at the beginning-of-visual-line?

You'd probably need a function ‘window-line-number-width’ callable after
the current glyph matrix was calculated.  But if your overlays then mess
with the number of lines displayed in the window you'll get into a loop.

martin






reply via email to

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