From a17bf690a8f80f252c3a831c79d6e8d11ce8d66c Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Tue, 11 Mar 2008 21:51:57 -0300 Subject: Add support for scrolling textwindow with mouse wheel. --- Xedit-noxprint.ad | 4 +++- Xedit-xprint.ad | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Xedit-noxprint.ad b/Xedit-noxprint.ad index 0743f0b..b626bf3 100644 --- a/Xedit-noxprint.ad +++ b/Xedit-noxprint.ad @@ -238,7 +238,9 @@ c l @Num_Lock:xedit-focus() popup-menu(optionsMenu)\n\ c @Num_Lock:xedit-focus() popup-menu(optionsMenu)\n\ c l:xedit-focus() popup-menu(optionsMenu)\n\ c: xedit-focus() popup-menu(optionsMenu)\n\ -: xedit-focus() select-start() +: xedit-focus() select-start()\n\ +: scroll-one-line-down()\n\ +: scroll-one-line-up() *filename.?.pieceSize: 256 *filename.translations: #override \ diff --git a/Xedit-xprint.ad b/Xedit-xprint.ad index cbc272b..34ed4e9 100644 --- a/Xedit-xprint.ad +++ b/Xedit-xprint.ad @@ -239,7 +239,9 @@ c l @Num_Lock:xedit-focus() popup-menu(optionsMenu)\n\ c @Num_Lock:xedit-focus() popup-menu(optionsMenu)\n\ c l:xedit-focus() popup-menu(optionsMenu)\n\ c: xedit-focus() popup-menu(optionsMenu)\n\ -: xedit-focus() select-start() +: xedit-focus() select-start()\n\ +: scroll-one-line-down()\n\ +: scroll-one-line-up() *filename.?.pieceSize: 256 *filename.translations: #override \ -- cgit v1.2.3