[Top][All Lists]

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

Re: Native display of line numbers

From: Stefan Monnier
Subject: Re: Native display of line numbers
Date: Fri, 23 Jun 2017 17:24:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>> Indeed, to make it fast enough it probably needs to count lines using
>> the matrices rather than the buffer.
> No, I cannot use the glyph matrices, because the line numbers are
> generated when the glyph matrix is created, and because the previous
> matrix cannot be trusted in general.

Can't you fill the glyph matrix with some filler while building the
matrix and at the end go back to put the line numbers?

> I need to use the move_it_in_display_line_to and its ilk instead.

That will make it costly, indeed.


reply via email to

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