plugins/textmate/lib/textmate.rb in redcar-0.5.6dev vs plugins/textmate/lib/textmate.rb in redcar-0.6
- old
+ new
@@ -24,9 +24,15 @@
item "Clear Bundle Menu", :command => ClearBundleMenu, :priority => 20
end
end
end
end
+
+ def self.toolbars
+ Redcar::ToolBar::Builder.build do
+ item "Snippet Browser", :command => Textmate::ShowSnippetTree, :icon => File.join(Redcar::ICONS_DIRECTORY, "document-tree.png"), :barname => :help
+ end
+ end
def self.bundle_context_menus(node)
Menu::Builder.build do
if not node.nil? and node.is_a?(BundleNode)
if Textmate.storage['load_bundles_menu']