Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
26997a4
)
documentor: Alt-Left/Right shortcuts when edit pane is active
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 3 Aug 2016 12:48:14 +0000
(08:48 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Wed, 3 Aug 2016 12:48:56 +0000
(08:48 -0400)
documentor/src/Documentor.ec
patch
|
blob
|
history
diff --git
a/documentor/src/Documentor.ec
b/documentor/src/Documentor.ec
index
12f2c21
..
c3e6212
100644
(file)
--- a/
documentor/src/Documentor.ec
+++ b/
documentor/src/Documentor.ec
@@
-2550,6
+2550,16
@@
class MainForm : Window
bool dontRecordHistory;
Module homeModule;
+ bool OnKeyHit(Key key, unichar ch)
+ {
+ switch(key)
+ {
+ case altLeft: Back(); return false;
+ case altRight: Forward(); return false;
+ }
+ return true;
+ }
+
bool Forward()
{
if(historyPos < history.count-1)