Re: [dev] [PATCH] [st 1/3] Use tsetdirt in tscrollup and tscrolldown.

From: <>
Date: Sun, 20 Apr 2014 17:34:27 +0400

tscrollup and tscrolldown do not use tsetdirt, but their code is
equivalent to


tclearregion also marks cleared lines as dirty.
In tscrolldown it sets lines from to dirty, and in
tscrollup it sets lines from orig to orig+n-1 dirty.

In both functions all lines from orig to are effectively set
dirty, but in tscrolldown lines from orig+n to are set dirty
twice, and in tscrollup lines from orig to are set dirty

These patches make it clear which lines are set dirty and sets them
dirty once in each funciton.
Received on Sun Apr 20 2014 - 15:34:27 CEST

This archive was generated by hypermail 2.3.0 : Sun Apr 20 2014 - 15:36:17 CEST