chrox
b42b4ed204
save highlight to pdf document
10 years ago
chrox
79b8f776d1
protected call of getWordFromPosition
10 years ago
Paulo Matias
e9421d0aa5
Add option for deleting history entries and refactor dialogs
...
- Refactor FileDialog and HightlightDialog into ButtonDialog
- Create a new ButtonDialog when a file in the History dialog is hold,
offering an option to delete the history entry.
10 years ago
Paulo Matias
5caba3f95a
Cleanup link_states and fix a rare highlight bug
10 years ago
chrox
bfff863861
fix cannot highlight hyphenated words in crereader
10 years ago
Paulo Matias
dacd3d2acb
Fix crash trying to select text in an empty page
10 years ago
chrox
637904a711
add text highlight for credocument
...
Three highlight drawers "lighten", "underscore" and "invert" are
available in reader menu.
This should implement #176 .
10 years ago
chrox
e43c77c192
fix dictionary lookup crash in scroll mode
11 years ago
chrox
5140a4c6ff
fix dictionary lookup crash via OCR in scroll mode
11 years ago
chrox
13d70eec9b
add Kindle-like dictionary window follow-up
11 years ago
chrox
f476a638a8
fix highlight dialog triggering bookmark
11 years ago
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.
11 years ago
chrox
2fd66e1fa3
typo fix
11 years ago
chrox
84ad0f2307
fix null export highlight in reflowed mode
11 years ago
chrox
2f2d3553ff
fix cannot highlight text with only one word in the first line
11 years ago
HW
09cd5c4104
Make DEBUG a require()d local
11 years ago
HW
748a443cd5
Merge remote-tracking branch 'upstream/master'
...
resolved conflicts with refactored structure
11 years ago
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).
11 years ago
chrox
8b6bf2e72b
export highlights only if highlighted text is not nil
11 years ago
HW
ef111b99c6
Refactored to use strictly locals
11 years ago
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.
11 years ago
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.
11 years ago
chrox
3f36fa80fd
fix nil pos bug in readerhighlight
11 years ago
Paulo Matias
b814eaf6f3
Fix a rare crash on ReaderHighlight
11 years ago
chrox
725bef08e6
add multi-dictionary support
11 years ago
chrox
71d6395fba
add Translate button when selecting multiple words
11 years ago
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.
11 years ago
chrox
35f71bb04a
add fake tap to dismiss temp hightlight after hightlight is saved
11 years ago
chrox
18fbc0f248
export hightlights to My Clippings
11 years ago
chrox
e3da8e41f1
remove selected word if hold moves out of word box
11 years ago
chrox
2e4485c396
add strings in highlight dialog for translation
11 years ago
chrox
eb4c76bd15
add highlight in pdf reader
11 years ago
chrox
c3dc712169
fix reader crash when hold pos is outside of page area
11 years ago
chrox
7c78e83e49
add hightlight/dictionary lookup in scanned pdf/djvu
11 years ago
chrox
5b6e9a8e03
OCR is almost stable, so enable it now
11 years ago
chrox
19f227f7b1
enlarge OCR region
11 years ago
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.
11 years ago
chrox
936dfc6fd1
add text highlight in both reflow and non-reflow mode
11 years ago