mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
* edit/edit_key_translator.c (cooledit_key_map): Bind
Ctrl-Shift-Up and Ctrl-Shift-Down to scroll with highlight. From Steef Boerrigter <sxmboer@sci.kun.nl>
This commit is contained in:
parent
ca73acb9bc
commit
3fa13073a6
@ -1,5 +1,9 @@
|
||||
2001-07-10 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* edit/edit_key_translator.c (cooledit_key_map): Bind
|
||||
Ctrl-Shift-Up and Ctrl-Shift-Down to scroll with highlight.
|
||||
From Steef Boerrigter <sxmboer@sci.kun.nl>
|
||||
|
||||
* edit/Makefile.in: Make edit.o depend on edit_key_translator.c.
|
||||
* edit/edit_key_translator.c (cooledit_key_map): Add support
|
||||
for bracket matching on Alt-B.
|
||||
|
@ -201,6 +201,12 @@
|
||||
case KEY_RIGHT:
|
||||
command = CK_Word_Right_Highlight;
|
||||
goto fin;
|
||||
case KEY_UP:
|
||||
command = CK_Scroll_Up_Highlight;
|
||||
goto fin;
|
||||
case KEY_DOWN:
|
||||
command = CK_Scroll_Down_Highlight;
|
||||
goto fin;
|
||||
}
|
||||
}
|
||||
if ((x_state & SHIFT_PRESSED) && !(x_state & CONTROL_PRESSED)) {
|
||||
|
Loading…
Reference in New Issue
Block a user