[2588] in BarnOwl Developers
[barnowl/barnowl] e5c9d3: Add a test for owl_editwin_move_to_beginning_of_li...
daemon@ATHENA.MIT.EDU (noreply@github.com)
Sat Aug 7 16:54:34 2010
Date: Sat, 7 Aug 2010 13:54:31 -0700
To: barnowl-dev@mit.edu
From: noreply@github.com
Branch: refs/heads/master
Home: http://github.com/barnowl/barnowl
Commit: e5c9d3deb9a4aede96128a52d12d60155c581db4
http://github.com/barnowl/barnowl/commit/e5c9d3deb9a4aede96128a52d12d60155c581db4
Author: David Benjamin <davidben@mit.edu>
Date: 2010-08-06 (Fri, 06 Aug 2010)
Changed paths:
M tester.c
Log Message:
-----------
Add a test for owl_editwin_move_to_beginning_of_line
We currently incorrectly handle buffers which begin with an empty line.
Commit: 335413f1c75355de55ee83f39c51059144b60fa7
http://github.com/barnowl/barnowl/commit/335413f1c75355de55ee83f39c51059144b60fa7
Author: David Benjamin <davidben@mit.edu>
Date: 2010-08-06 (Fri, 06 Aug 2010)
Changed paths:
M editwin.c
Log Message:
-----------
Fix owl_editwin_move_to_beginning_of_line for empty first lines
The condition for determining whether we stopped moving because we
encountered the beginning of the buffer or the end of the previous line
was incorrect. As a result, the editwin was moving back an extra line
when the first line was empty.