Home Download Buy Blog Forum Support

setPanelHeight, getPanelHeight

setPanelHeight, getPanelHeight

Postby FalconNL on Thu Feb 19, 2009 7:13 am

Because the output panel is only 8 lines high by default, reading compiler errors requires a lot of scrolling. For that reason I would like to request these two commands/API functions:

Code: Select all
getPanelHeight panel
    panel: either console or output
    returns the height of the given panel in lines

setPanelHeight panel height
    panel: either console or output
    height: optional. specify the number of lines to display for the chosen value.
            If no height is given, the default of 8 is used.

That way you could do things like
Code: Select all
<binding key="ctrl+keypad_plus" command="setPanelHeight console 30"/>
<binding key="ctrl+keypad_minus" command="setPanelHeight console"/>

and enlarge the output panel as needed without having to change the GUI to support mouse resizing.
Posts: 65
Joined: Thu May 29, 2008 8:17 pm

Re: setPanelHeight, getPanelHeight

Postby mvm on Thu Feb 19, 2009 9:45 am

My request is more modest: please increase the height of output panel by some lines. For me it safely can be half of screen's height. It's very inconvenient to see just 1 or 2 lines of long output from c++ compiler.
Posts: 26
Joined: Mon Mar 31, 2008 6:11 pm

Re: setPanelHeight, getPanelHeight

Postby jps on Thu Feb 19, 2009 10:21 am

I'm not entirely keen on adding something that'll be removed when resizable panels are finally in, but in the mean time I'll double the size of the output panel, as mvm suggested.
Site Admin
Posts: 3217
Joined: Wed Mar 19, 2008 12:33 pm

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 8 guests