Merge pull request #359 from Xuyuanp/up/master

add refreshDirFlags method to avoid refreshing too many files
This commit is contained in:
Martin Grenfell 2014-07-22 09:14:57 +01:00
commit a47c6caf80

View File

@ -448,6 +448,11 @@ function! s:TreeDirNode.refreshFlags()
endfor endfor
endfunction endfunction
"FUNCTION: TreeDirNode.refreshDirFlags() {{{1
function! s:TreeDirNode.refreshDirFlags()
call self.path.refreshFlags()
endfunction
"FUNCTION: TreeDirNode.reveal(path) {{{1 "FUNCTION: TreeDirNode.reveal(path) {{{1
"reveal the given path, i.e. cache and open all treenodes needed to display it "reveal the given path, i.e. cache and open all treenodes needed to display it
"in the UI "in the UI