mirror of
https://github.com/koreader/koreader.git
synced 2025-12-24 12:14:05 +01:00
Bookmarks: fix sort within one page (#8616)
Accurate sorting of bookmarks located in one page depending on their positions in text.
This commit is contained in:
@@ -68,6 +68,10 @@ function DjvuDocument:getProps()
|
||||
return props
|
||||
end
|
||||
|
||||
function DjvuDocument:comparePositions(pos1, pos2)
|
||||
return self.koptinterface:comparePositions(self, pos1, pos2)
|
||||
end
|
||||
|
||||
function DjvuDocument:getPageTextBoxes(pageno)
|
||||
return self._document:getPageText(pageno)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user