commit cf8c54689ba125c5a2cc20e4bf87bbf3af7edcb7
parent a8cd995624e69b91df173cbfb255b9747e7a29aa
Author: Martin Grenfell <martin_grenfell@msn.com>
Date: Wed, 3 Sep 2008 18:19:44 +1200
make TreeDirNode#openRecursively2 private
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -920,16 +920,14 @@ function! s:TreeDirNode.openRecursively()
call self.openRecursively2(1)
endfunction
-"FUNCTION: TreeDirNode.openRecursively2() {{{3
-"Dont call this method from outside this object.
-"
+"FUNCTION: TreeDirNode._openRecursively2() {{{3
"Opens this all children of this treenode recursively if either:
" *they arent filtered by file filters
" *a:forceOpen is 1
"
"Args:
"forceOpen: 1 if this node should be opened regardless of file filters
-function! s:TreeDirNode.openRecursively2(forceOpen)
+function! s:TreeDirNode._openRecursively2(forceOpen)
if self.path.ignore() == 0 || a:forceOpen
let self.isOpen = 1
if self.children == []