       #@filename = editor.getPath()
       @code = editor.getText()
 
-
+    # Get language and filename
     grammar = editor.getGrammar()
     @lang = grammar.name
     @filename = editor.getTitle()

        "Command not configured for " + @lang + "!\n\n" +
        "Add an <a href='https://github.com/rgbkrk/atom-script/issues/" +
        "new?title=Add%20support%20for%20" + @lang + "'>issue on GitHub" +
        "</a> or send your own Pull Request if there should be."

  display: (title, css, line)->
    @heading.text(title)
    @output.append("<pre class='line #{css}'>#{line}</pre>")

  @filename: null

  @content: ->
    # Display layout and outlets
    @div class: 'tool-panel panel panel-bottom padding script', outlet: 'script', tabindex: -1, =>
      @div class: 'panel-heading padded heading', outlet: 'heading'
      @div class: 'panel-body padded output', outlet: 'output'

  initialize: (serializeState) ->
    # Bind commands
    atom.workspaceView.command "script:run", => @show()
    atom.workspaceView.command "script:close-view", => @close()
    atom.workspaceView.command "script:kill-process", => @stop()
