Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Commented out log statements in Forest/Node demos.

  • Loading branch information...
commit b601e03fe0a3b8a43766231f4a6217e4492b4f75 1 parent b83fdf3
megaannum authored
View
12 autoload/forms/example/dotvimviewer.vim
@@ -72,13 +72,13 @@ function! forms#example#dotvimviewer#Make()
let forest.pathToString = function("Path_to_string")
function! ForestOnOpenAction(tree, node) dict
-call forms#log("FOREST OPEN: ". a:node.name)
+"call forms#log("FOREST OPEN: ". a:node.name)
call self.nv.setNode(a:tree, a:node, 1)
endfunction
let fooa = forms#newAction({ 'execute': function("ForestOnOpenAction")})
function! ForestOnCloseAction(tree, node) dict
-call forms#log("FOREST CLOSE: ". a:node.name)
+"call forms#log("FOREST CLOSE: ". a:node.name)
let [found, parent_node] = a:node.getParent(a:tree)
if found
call self.nv.setNode(a:tree, parent_node, 1)
@@ -90,7 +90,7 @@ call forms#log("FOREST CLOSE: ". a:node.name)
let foca = forms#newAction({ 'execute': function("ForestOnCloseAction")})
function! ForestOnSelectionAction(tree, node) dict
-call forms#log("FOREST SELECT: ". a:node.name)
+"call forms#log("FOREST SELECT: ". a:node.name)
endfunction
let fosa = forms#newAction({ 'execute': function("ForestOnSelectionAction")})
@@ -109,19 +109,19 @@ call forms#log("FOREST SELECT: ". a:node.name)
let fvbox = forms#newBox({ 'body': fv } )
function! NodeOnOpenAction(tree, node) dict
-call forms#log("NODE OPEN: ". a:node.name)
+"call forms#log("NODE OPEN: ". a:node.name)
call self.fv.setNode(a:tree, a:node)
endfunction
let nooa = forms#newAction({ 'execute': function("NodeOnOpenAction")})
function! NodeOnCloseAction(tree, node) dict
-call forms#log("NODE CLOSE: ". a:node.name)
+"call forms#log("NODE CLOSE: ". a:node.name)
call self.fv.setNode(a:tree, a:node)
endfunction
let noca = forms#newAction({ 'execute': function("NodeOnCloseAction")})
function! NodeOnSelectionAction(tree, node) dict
-call forms#log("NODE SELECT: ". a:node.name)
+"call forms#log("NODE SELECT: ". a:node.name)
endfunction
let nosa = forms#newAction({ 'execute': function("NodeOnSelectionAction")})
View
12 autoload/forms/example/runtimepathviewer.vim
@@ -67,13 +67,13 @@ function! forms#example#runtimepathviewer#Make()
function! ForestOnOpenAction(tree, node) dict
- call forms#log("OPEN: ". a:node.name)
+"call forms#log("OPEN: ". a:node.name)
call self.nv.setNode(a:tree, a:node, 1)
endfunction
let fooa = forms#newAction({ 'execute': function("ForestOnOpenAction")})
function! ForestOnCloseAction(tree, node) dict
- call forms#log("CLOSE: ". a:node.name)
+"call forms#log("CLOSE: ". a:node.name)
let [found, parent_node] = a:node.getParent(a:tree)
if found
call self.nv.setNode(a:tree, parent_node, 1)
@@ -85,7 +85,7 @@ function! forms#example#runtimepathviewer#Make()
let foca = forms#newAction({ 'execute': function("ForestOnCloseAction")})
function! ForestOnSelectionAction(tree, node) dict
- call forms#log("SELECT: ". a:node.name)
+"call forms#log("SELECT: ". a:node.name)
endfunction
let fosa = forms#newAction({ 'execute': function("ForestOnSelectionAction")})
@@ -108,19 +108,19 @@ function! forms#example#runtimepathviewer#Make()
function! NodeOnOpenAction(tree, node) dict
-call forms#log("NODE OPEN: ". a:node.name)
+"call forms#log("NODE OPEN: ". a:node.name)
call self.fv.setNode(a:tree, a:node)
endfunction
let nooa = forms#newAction({ 'execute': function("NodeOnOpenAction")})
function! NodeOnCloseAction(tree, node) dict
-call forms#log("NODE CLOSE: ". a:node.name)
+"call forms#log("NODE CLOSE: ". a:node.name)
call self.fv.setNode(a:tree, a:node)
endfunction
let noca = forms#newAction({ 'execute': function("NodeOnCloseAction")})
function! NodeOnSelectionAction(tree, node) dict
-call forms#log("NODE SELECT: ". a:node.name)
+"call forms#log("NODE SELECT: ". a:node.name)
endfunction
let nosa = forms#newAction({ 'execute': function("NodeOnSelectionAction")})
Please sign in to comment.
Something went wrong with that request. Please try again.