Ticket #2107: viewer: enable left/right scrolling in wrap mode.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2010-03-25 10:30:57 +03:00
parent fa5303329a
commit 79a91164c3

View File

@ -173,10 +173,6 @@ mcview_move_left (mcview_t * view, off_t columns)
if (old_cursor > 0 || view->hexedit_lownibble)
view->hexedit_lownibble = !view->hexedit_lownibble;
}
else if (view->text_wrap_mode)
{
/* nothing to do */
}
else
{
if (view->dpy_text_column >= columns)
@ -207,10 +203,6 @@ mcview_move_right (mcview_t * view, off_t columns)
if (old_cursor < last_byte || !view->hexedit_lownibble)
view->hexedit_lownibble = !view->hexedit_lownibble;
}
else if (view->text_wrap_mode)
{
/* nothing to do */
}
else
{
view->dpy_text_column += columns;