 
     @session.setUseSoftTabs true
     @session.setTabSize 2
+    @session.setUseWrapMode true
 
     @displayName = ko.computed =>
       object = @object()

  setLayout: ->
    @layout = @body.layout
      livePaneResizing: true
      west:
        size: '20%'
        slidable: false

            slidable: false

  setSizes: ->
    editor = $ '.editor'
    frame = editor.parent()
    tabs = $ '.tabs'
    toolbar = $ '.toolbar'
    console.log frame.innerHeight()
    editor.width frame.innerWidth()
    editor.height frame.innerHeight() - tabs.outerHeight() - toolbar.outerHeight()
    console.log @editor
    @editor.resize()

  loadSidebar: ->
    @socket.emit 'get_tree', null, (tree) =>
