rewrite jump stack and add bookmark feature

* jump stack is rewritten as jump history
* add bookmark feature
This commit is contained in:
Qingping Hou
2012-04-18 17:01:22 +08:00
parent 066cffb7fe
commit 84fe9f49a4
2 changed files with 156 additions and 72 deletions

View File

@@ -53,7 +53,7 @@ function openFile(filename)
if ok then
reader:loadSettings(filename)
page_num = reader:getLastPageOrPos()
reader:goto(tonumber(page_num))
reader:goto(tonumber(page_num), true)
reader_settings:savesetting("lastfile", filename)
return reader:inputLoop()
else