diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-01-16 15:02:38 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-01-16 15:07:24 +0100 |
| commit | 5aaf52f3617504d7211d272af86fd49f0e0d0a4e (patch) | |
| tree | b1462d770e89e2fcc8870a7022a5146f3c45e3bd | |
| parent | d58c355d2fff2cf78af1ac1cdd4a6299b16aba43 (diff) | |
| download | vis-5aaf52f3617504d7211d272af86fd49f0e0d0a4e.tar.gz vis-5aaf52f3617504d7211d272af86fd49f0e0d0a4e.tar.xz | |
view: remove special cursor handling at end of visible area
Close #148
| -rw-r--r-- | view.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1145,8 +1145,6 @@ void view_cursors_to(Cursor *c, size_t pos) { /* make sure we redraw changes to the very first character of the window */ if (view->start == pos) view->start_last = 0; - if (view->end == pos) - view_viewport_down(view, 1); /* set the start of the viewable region to the start of the line on which * the cursor should be placed. if this line requires more space than * available in the view then simply start displaying text at the new |
