Sha256: 5d16ac63c3b40eaf26baa545406394125ebbf613ecbeda563228dab71fb783f1

Contents?: true

Size: 488 Bytes

Versions: 10

Compression:

Stored size: 488 Bytes

Contents

module Redcar
  class OutlineView
    class OpenOutlineViewCommand < Redcar::EditTabCommand
      
      def execute
        cur_doc = Redcar.app.focussed_window.focussed_notebook_tab.document
        if cur_doc
          OutlineView::OutlineViewDialog.new(cur_doc).open
        end
      end
    end

    class OpenProjectOutlineViewCommand < Redcar::ProjectCommand
      def execute
        OutlineView::ProjectOutlineViewDialog.new(project).open if project
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
redcar-0.12.1 plugins/outline_view/lib/outline_view/commands.rb
redcar-0.12 plugins/outline_view/lib/outline_view/commands.rb
redcar-dev-0.12.27dev plugins/outline_view/lib/outline_view/commands.rb
redcar-dev-0.12.26dev plugins/outline_view/lib/outline_view/commands.rb
redcar-dev-0.12.25dev plugins/outline_view/lib/outline_view/commands.rb
redcar-dev-0.12.24dev plugins/outline_view/lib/outline_view/commands.rb
redcar-dev-0.12.23dev plugins/outline_view/lib/outline_view/commands.rb
redcar-dev-0.12.22dev plugins/outline_view/lib/outline_view/commands.rb
redcar-dev-0.12.21dev plugins/outline_view/lib/outline_view/commands.rb
redcar-dev-0.12.20dev plugins/outline_view/lib/outline_view/commands.rb