Sublime Forum

setPanelHeight, getPanelHeight

#1

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]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.[/code]

That way you could do things like

<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.

0 Likes

#2

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.

0 Likes

#3

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.

0 Likes