mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
dd74194e0a
Drop the use of crengine's getWordFromPosition() which is a bit unreliable: it may returns wrong coordinates, or words from far away in the book (ie. when holding in the margins). Rely only on the robust getTextFromPositions() that we already use for multi words selection. Having good coordinates allows refreshing a smaller region (the higlighted word, or the 2 lines if hyphenated). |
||
---|---|---|
.. | ||
canvascontext.lua | ||
credocument.lua | ||
djvudocument.lua | ||
document.lua | ||
documentregistry.lua | ||
koptinterface.lua | ||
pdfdocument.lua | ||
picdocument.lua | ||
tilecacheitem.lua |