fix: add jump feature

This commit is contained in:
Qingping Hou
2012-04-07 23:03:29 +08:00
parent bf4ac4ffff
commit 4631fe492a

View File

@@ -269,6 +269,12 @@ function CREReader:adjustCreReaderCommands()
cr:redrawCurrentPage()
end
)
self.commands:add(KEY_B, MOD_SHIFT, "B",
"add jump",
function(cr)
cr:addJump(self.doc:getXPointer())
end
)
self.commands:add(KEY_BACK,nil,"back",
"back to last jump",
function(cr)