     # even if the first pane reaches the value.
     @resizePanel first, 0, kd.noop, yes
 
+
+  getFirstSplitView: ->
+
+    { first } = @panels.last.getSubViews().first.getSubViews()
+
+    return first  if first instanceof KDSplitView
+



module.exports = class IDEBaseSplitView extends KDSplitView

  viewAppended: ->


    @lastKnownFileTreeSize = @getOption('sizes').first or 250

    @on 'PanelDidResize', kd.utils.debounce 10, =>
      return  unless fileTree = @panels.first
      @lastKnownFileTreeSize = fileTree.size

    @resizer.on 'DragInAction', => @getFirstSplitView()?._windowDidResize()


  _resizePanels: ->
