refactoring readerbookmark to show both bookmarks and highlights

in the bookmark menu
and use binary search of the sorted bookmarks table whenever is
possible.
This commit is contained in:
chrox
2014-11-27 21:59:27 +08:00
parent ac6a34ee3d
commit fe885be563
4 changed files with 334 additions and 88 deletions

View File

@@ -419,7 +419,7 @@ function CreDocument:setBatteryState(state)
end
function CreDocument:isXPointerInCurrentPage(xp)
DEBUG("CreDocument: check in page", xp)
DEBUG("CreDocument: check xpointer in current page", xp)
return self._document:isXPointerInCurrentPage(xp)
end