emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add function window-line-width


From: martin rudalics
Subject: Re: [PATCH] Add function window-line-width
Date: Thu, 7 Nov 2019 09:40:03 +0100

> I would like to propose the function `window-line-width'.
> This is to use it in the package lsp-ui[1]

Note that

(window-text-pixel-size
 nil (line-beginning-position) (line-end-position))

does already return the size of the current line.  Some sort of
x-limit is advised in order to handle overlong lines.

martin



reply via email to

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