Refresh AltStatusBar once a minute, if there are changes
This commit is contained in:
1 parent
49e2d91afb
commit
3118d0dba0
4 files changed
+150
-25
No files matched your search
@@ -1331,6 +1331,9 @@ end
|
||||
-- no-op that will be wrapped by setupCallCache
|
||||
function CreDocument:resetCallCache() end
|
||||
|
||||
-- no-op that will be wrapped by setupCallCache
|
||||
function CreDocument:resetBufferCache() end
|
||||
|
||||
-- Optimise usage of some of the above methods by caching their results,
|
||||
-- either globally, or per page/pos for those whose result may depend on
|
||||
-- current page number or y-position.
|
||||
@@ -1562,6 +1565,7 @@ function CreDocument:setupCallCache()
|
||||
elseif name == "getWordFromPosition" then add_buffer_trash = true
|
||||
elseif name == "getTextFromPositions" then add_buffer_trash = true
|
||||
elseif name == "findText" then add_buffer_trash = true
|
||||
elseif name == "resetBufferCache" then add_buffer_trash = true
|
||||
|
||||
-- These may change page/pos
|
||||
elseif name == "gotoPage" then set_tag = "page" ; set_arg = 2 ; set_arg2 = 3
|
||||
|
||||
Reference in new issue
Block a user