* 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:
Pavel Roskin 2001-07-10 19:22:10 +00:00
parent ca73acb9bc
commit 3fa13073a6
2 changed files with 10 additions and 0 deletions

View File

@ -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.

View File

@ -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)) {