Dobrica Pavlinusic
ffa663d37d
added few more keys to inputbox
13 years ago
HW
57d769e0ae
added wrapper function for input.waitForEvent that retries on EINTR
13 years ago
Qingping Hou
485dda2a0f
fix: bugs in inputbox.lua
...
* one typo
* clear ret_code on exit
* add init() method
13 years ago
Qingping Hou
95998a7397
add: NumInputBox class for goto page feature
13 years ago
HW
ec2eda0c05
switched font handling to only work with external fonts
...
now you can use a environment variable, FONTDIR, to point
to a font dir. Otherwise, "./fonts" is used by default.
Subdirectories are indexed.
13 years ago
Qingping Hou
ff60a41604
mod: rewrite inputbox with commands
13 years ago
Qingping Hou
7c81f60a58
rewrite highlight again :( finished the cursor part
13 years ago
Qingping Hou
44d7d6cd29
fix: handle -1 index when deleting characters in inputbox
13 years ago
Qingping Hou
46de106e8a
fix: clear input_text before input result return
13 years ago
Qingping Hou
9eff3e3224
mod: delete debug lines in inputbox.lua
13 years ago
Qingping Hou
709a9003d2
fix: handle default text in inputbox
13 years ago
Qingping Hou
7b0f2ad815
mod: cursor finished, add to inputbox
13 years ago
Qingping Hou
a231b944c1
add: first demo of cursor support
13 years ago
Qingping Hou
b7c04ada1a
mod: clean up in inputbox.lua
13 years ago
Qingping Hou
6614bbe33d
mod: handle shift and alt key events in adjustKeyEvents()
13 years ago
Qingping Hou
53d4016c64
fix: move shiftmode and altmode to global
...
now shiftmode and altmode is recoreded in Keys module. So all the UIs
are sharing these two mode instead of remembering their own. These fix
the bug in UI switchings.
For instance, you use combo 'Alt'+'b' to fire up some menu in pdfreader,
the altmode is set, but the alt key was released after the menu show
up. Then the key release event will only be captured by the menu. So
after you exit from the menu, the altmode is still set in pdfreader,
which is not what we want.
13 years ago
Qingping Hou
b33720a567
mod: change shortcut for jumpstack & fix: inputbox
13 years ago
Qingping Hou
91dd1a13c8
mod: add number keys in inputbox
13 years ago
Qingping Hou
417ef640a7
Merge branch 'rotate'
...
Conflicts:
filechooser.lua
* merge rotate branch with search branch
* fix font display bug in font menu
not fully tested the new rotation implemention yet.
13 years ago
Qingping Hou
060ad5cb01
finished search feature!
13 years ago
Qingping Hou
32d1bede8c
start working on filesearcher
13 years ago
Qingping Hou
29a9996fb2
mod: inputbox finished
13 years ago
Qingping Hou
8fdb0a4c3e
add: demo for inputbox
13 years ago