[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] the mechanics of wrapping
From: |
Mark Majeres |
Subject: |
Re: [Nano-devel] the mechanics of wrapping |
Date: |
Wed, 2 Jul 2014 14:29:30 -0700 |
On 7/2/14, Benno Schulenberg <address@hidden> wrote:
>
> On Wed, Jul 2, 2014, at 15:30, Mark Majeres wrote:
>> To minimize the processing for this feature I can add a new member to
>> the filestruct that will store the number of screen lines for each
>> line of text in the file.
>
> How does that hold up when the screen is resized?
>
The number of screen lines will need to be re-calculated when the
width of the terminal window changes, or when the line is edited.
Currently, this is being done for all visible lines every time a
redraw is done, even when the line hasn't changed.
---Mark