check link on the fly when tapping

This commit is contained in:
chrox
2014-01-20 20:41:01 +08:00
parent 7aca27c2a0
commit 9e3e070522
4 changed files with 14 additions and 22 deletions

View File

@@ -233,6 +233,10 @@ function CreDocument:getPageLinks()
return self._document:getPageLinks()
end
function CreDocument:getLinkFromPosition(pos)
return self._document:getLinkFromPosition(pos.x, pos.y)
end
function Document:gotoPos(pos)
DEBUG("CreDocument: goto position", pos)
self._document:gotoPos(pos)