remove s:openEntrySplit as it is not needed anymore

This commit is contained in:
Martin Grenfell
2012-01-06 15:02:55 +00:00
parent af13711fac
commit 04dbae2cb4

View File

@@ -3486,25 +3486,6 @@ function! s:jumpToSibling(currentNode, forward)
endif endif
endfunction endfunction
" FUNCTION: s:openEntrySplit(vertical, forceKeepWindowOpen) {{{2
function! s:openEntrySplit(vertical, forceKeepWindowOpen)
let treenode = s:TreeFileNode.GetSelected()
if treenode != {}
if a:vertical
call treenode.openVSplit()
else
call treenode.openSplit()
endif
if !a:forceKeepWindowOpen
call s:closeTreeIfQuitOnOpen()
endif
else
call s:echo("select a node first")
endif
endfunction
"FUNCTION: s:promptToDelBuffer(bufnum, msg){{{2 "FUNCTION: s:promptToDelBuffer(bufnum, msg){{{2
"prints out the given msg and, if the user responds by pushing 'y' then the "prints out the given msg and, if the user responds by pushing 'y' then the
"buffer with the given bufnum is deleted "buffer with the given bufnum is deleted
@@ -4035,11 +4016,10 @@ function! s:handleMiddleMouse()
if curNode.path.isDirectory if curNode.path.isDirectory
call s:openExplorer(curNode) call s:openExplorer(curNode)
else else
call s:openEntrySplit(0,0) call curNode.open({'split': 'h'})
endif endif
endfunction endfunction
" FUNCTION: s:jumpToFirstChild() {{{2 " FUNCTION: s:jumpToFirstChild() {{{2
" wrapper for the jump to child method " wrapper for the jump to child method
function! s:jumpToFirstChild(node) function! s:jumpToFirstChild(node)