# File lib/json/editor.rb, line 288 def cut_node(item) if current = selection.selected if current and current.type == 'Key' @clipboard_data = { current.content => Editor.model2data(current.first_child) } else @clipboard_data = Editor.model2data(current) end model.remove(current) window.change toplevel.display_status("Cut a node from tree.") end end