Controller: Add pane resize support for terminal

updated

On Thu, Sep 11, 2014 at 6:14 PM, Fatih Acet <notifications@github.com>
wrote:

> In AppController.coffee:
>
> > @@ -592,13 +592,18 @@ class IDEAppController extends AppController
> >        @fakeViewsDestroyed = yes
> >
> >    doResize: ->
> > -    @forEachSubViewInIDEViews_ 'editor', (editorPane) ->
> > -      height = editorPane.getHeight()
> > -      {ace}  = editorPane.aceView
> > -
> > -      if ace?.editor?
> > -        ace.setHeight height
> > -        ace.editor.resize()
> > +    @forEachSubViewInIDEViews_ (editorPane) ->
>
> Parametre name should be pane and also you don't need to check for
> constructor.name. Panes already have paneType variable in options. You
> can use it. See editorpane.coffee:8
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/koding/IDE/pull/28/files#r17426845>.
>