chrox
13d70eec9b
add Kindle-like dictionary window follow-up
2013-12-26 22:40:40 +08:00
chrox
f476a638a8
fix highlight dialog triggering bookmark
2013-12-20 12:17:11 +08:00
chrox
e5bf0eb13e
fix closing dict window will bookmark current page
...
use `self.highlight:handleEvent(Event:new("Tap"))` instead of
`self.ui:handleEvent(Event:new("Tap"))` when clearing highlighted
text since Tap event in latter situation will be captured by
the dogear widget.
2013-12-20 12:05:11 +08:00
chrox
2fd66e1fa3
typo fix
2013-12-04 22:17:05 +08:00
chrox
84ad0f2307
fix null export highlight in reflowed mode
2013-11-30 21:17:13 +08:00
chrox
2f2d3553ff
fix cannot highlight text with only one word in the first line
2013-10-28 21:48:17 +08:00
HW
09cd5c4104
Make DEBUG a require()d local
2013-10-22 20:51:29 +02:00
HW
748a443cd5
Merge remote-tracking branch 'upstream/master'
...
resolved conflicts with refactored structure
2013-10-22 17:19:08 +02:00
HW
2154e7e852
Further refactoring
...
This should finish the work to make all globals to local variables.
That allows LuaJIT to properly compile things by interning the
references to the relevant parts (rather than looking up globals
all the time which stops a trace).
2013-10-22 17:11:31 +02:00
chrox
8b6bf2e72b
export highlights only if highlighted text is not nil
2013-10-20 12:32:35 +08:00
HW
ef111b99c6
Refactored to use strictly locals
2013-10-18 22:38:07 +02:00
chrox
9f42289226
use pixels from reflowed page when doing OCR in reflowing mode
...
I hope it will get back OCR accuracy as in build 545.
2013-10-14 23:06:05 +08:00
chrox
4660a3532b
synchronize hightlights in non-/reflowing modes
...
and there is no need to OCR word if we can extract text from
original page in reflowing mode thanks to the rect maps between
normal page and reflowed page.
2013-10-12 23:07:13 +08:00
chrox
3f36fa80fd
fix nil pos bug in readerhighlight
2013-07-25 23:03:54 +08:00
Paulo Matias
b814eaf6f3
Fix a rare crash on ReaderHighlight
2013-07-23 14:08:14 -03:00
chrox
725bef08e6
add multi-dictionary support
2013-07-21 14:23:54 +08:00
chrox
71d6395fba
add Translate button when selecting multiple words
2013-07-20 02:49:03 +08:00
chrox
56c8b28f7c
Fix bug #151
...
Check if there is only one line between the two positions and no
word boxes are found, if so break the loop immediately.
2013-07-12 20:52:12 +08:00
chrox
35f71bb04a
add fake tap to dismiss temp hightlight after hightlight is saved
2013-06-17 13:15:24 +08:00
chrox
18fbc0f248
export hightlights to My Clippings
2013-06-16 19:00:15 +08:00
chrox
e3da8e41f1
remove selected word if hold moves out of word box
2013-06-16 16:58:26 +08:00
chrox
2e4485c396
add strings in highlight dialog for translation
2013-06-16 11:15:39 +08:00
chrox
eb4c76bd15
add highlight in pdf reader
2013-06-15 23:16:53 +08:00
chrox
c3dc712169
fix reader crash when hold pos is outside of page area
2013-05-03 19:04:31 +08:00
chrox
7c78e83e49
add hightlight/dictionary lookup in scanned pdf/djvu
2013-05-01 23:43:53 +08:00
chrox
5b6e9a8e03
OCR is almost stable, so enable it now
2013-04-30 13:51:10 +08:00
chrox
19f227f7b1
enlarge OCR region
2013-04-27 17:48:27 +08:00
chrox
46c605d256
disable word OCR for now
...
Since it will crash the reader with a strange error message saying
"terminate called after throwing an instance of 'DJVU::GException'"
even though only PDF file is opened.
2013-04-24 09:13:20 +08:00
chrox
936dfc6fd1
add text highlight in both reflow and non-reflow mode
2013-04-24 06:59:52 +08:00