nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] 1.1.10/cvs scroll bug and crash (patch)


From: David Lawrence Ramsey
Subject: Re: [Nano-devel] 1.1.10/cvs scroll bug and crash (patch)
Date: Sun, 18 Aug 2002 22:18:45 -0700 (PDT)

--- Jeff DeFouw <address@hidden> wrote:
>Bug #1: Scrolling up (non-smooth) when at the top of the edit window
>attempts to go up two lines.  That doesn't make sense, but more
>importantly that results in a segmentation fault when on the second line
>of the file.  One way to reproduce: turn on smooth scrolling, scroll the
>edit window down one line, and then turn smooth scrolling off and try to
>scroll back with the up-arrow.  current is updated twice (first in
>edit_update), the second time it's set to NULL.
>
>Bug #2: When the edit window is on the last line of the file and the
>down-arrow is used, the cursor is placed in the center of the screen
>without changing the edit window contents.  Since there is no next line,
>edit_update refuses to do anything.  Using the current line works
>(behaves like pico).  One way to reproduce: In a 24-line terminal, open
>a 19-line file, and down-arrow to the end.
>
>This patch fixes both bugs and applies to current CVS and 1.1.10.

Tested and merged into nanobits3.patch (nanopara.patch
updated for it too).


_____________________________________________________________
Sluggy.Net: The Sluggy Freelance Community!

_____________________________________________________________
Promote your group and strengthen ties to your members with address@hidden by 
Everyone.net  http://www.everyone.net/?btn=tag




reply via email to

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