# File lib/json/editor.rb, line 645 645: def create 646: title = MenuItem.new('Edit') 647: title.submenu = menu 648: add_item('Copy', ?c, &method(:copy)) 649: add_item('Paste', ?v, &method(:paste)) 650: add_separator 651: add_item('Find', ?f, &method(:find)) 652: add_item('Find Again', ?g, &method(:find_again)) 653: add_separator 654: add_item('Sort', ?S, &method(:sort)) 655: title 656: end