diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-03-11 21:51:57 -0300 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-07-02 19:06:46 -0300 |
commit | a17bf690a8f80f252c3a831c79d6e8d11ce8d66c (patch) | |
tree | fcc71db1d697d43bee1c34a9c3f0b58edb61ae72 | |
parent | b1dd01f67a48785678209b90c1b0e4f44621c146 (diff) |
Add support for scrolling textwindow with mouse wheel.
-rw-r--r-- | Xedit-noxprint.ad | 4 | ||||
-rw-r--r-- | 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<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\ c @Num_Lock<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\ c l<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\ c<Btn3Down>: xedit-focus() popup-menu(optionsMenu)\n\ -<Btn1Down>: xedit-focus() select-start() +<Btn1Down>: xedit-focus() select-start()\n\ +<Btn4Down>: scroll-one-line-down()\n\ +<Btn5Down>: 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<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\ c @Num_Lock<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\ c l<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\ c<Btn3Down>: xedit-focus() popup-menu(optionsMenu)\n\ -<Btn1Down>: xedit-focus() select-start() +<Btn1Down>: xedit-focus() select-start()\n\ +<Btn4Down>: scroll-one-line-down()\n\ +<Btn5Down>: scroll-one-line-up() *filename.?.pieceSize: 256 *filename.translations: #override \ |