mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
Ticket #2107: viewer: enable left/right scrolling in wrap mode.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
fa5303329a
commit
79a91164c3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user