Changeset 335413f1
- Timestamp:
- Aug 7, 2010, 12:55:50 AM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- d40ad8b
- Parents:
- e5c9d3de
- git-author:
- David Benjamin <davidben@mit.edu> (08/07/10 00:50:19)
- git-committer:
- David Benjamin <davidben@mit.edu> (08/07/10 00:55:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
editwin.c
r3f11c00 r335413f1 835 835 distance += owl_editwin_point_move(e, -1); 836 836 distance += owl_editwin_move_if_not_in(e, -1, "\n"); 837 if (distance && !owl_editwin_at_beginning_of_buffer(e)) 837 /* If we stopped because we reached a '\n', rather than because we 838 * hit the top of the buffer, move forward from the end of the 839 * previous line to the start of the current. */ 840 if (owl_editwin_get_char_at_point(e) == '\n') 838 841 distance += owl_editwin_point_move(e, 1); 839 842 }
Note: See TracChangeset
for help on using the changeset viewer.