Hi,
Using CB on a daily basis I've found this (little) issue a bit annoying: I'm regularly using F2 to hide/show the logs window where it's size is not preserved. It would be nice if it did as I'm resizing it every time.
thanks,
Elie.
Funny, though this is quite obviously a bug, it's actually a good feature too. I'm regularly using F2-F2 to resize the pane to its original size :)
Meh, how do I reset it to its default size now? :(
Doubleclick on the title bar sounds ok. Anything that works is good, actually :)
if(m_pInfoPane->GetSize().GetHeight() != bottomH)
{
m_LayoutManager.GetPane(m_pInfoPane).Show(false);
DoUpdateLayout();
m_LayoutManager.GetPane(m_pInfoPane).BestSize(wxSize(GetClientSize().GetWidth(), bottomH)).Show(true);
DoUpdateLayout();
}
Sorry for nut-picking, but mind using the Hide() method here instead, please? It reads just better.Codem_LayoutManager.GetPane(m_pInfoPane).Show(false);
Sorry for nut-picking, but mind using the Hide() method here instead, please? It reads just better.Codem_LayoutManager.GetPane(m_pInfoPane).Show(false);
Better yet, it could toggle between "the rather small default size" and "takes up 3/4 of the area". Don't really mind if it's a doubleclick or a keypress (is F1 used for anything...?), just would be cool if we kept such a function somehow.
The reason why I liked the broken behaviour so much is that usually the log pane is best kept small, because it's really not so useful. You mostly want to see the editor, and maybe a few one-liners that the compiler spits out. The default size is just about good for that.
Occasionally though, you get STL errors which output 30-35 lines of text, so you have to resize the log pane to be able to figure out where they start and where they end. After that, you wish that the log pane could just disappear again, because now it takes 3/4 of your screen. F2-F2 was a nice way of doing this fast and consistently.
Now of course if you could just hit a button to make the logpane pop to "full size" and back again, you'd not even have to touch the mouse, and you'd not need to try to hit that narrow resize margin. That would be really cool.
I'm dealing with *large* projects, doing more searches than compilations. This is why this feature is so important for me.
And if I may, even better is to close the logs window when pressing Escape.
That key makes a difference :-)
-elie
Isn't it possible do use keybinder plugin to replace F2 shortcut by esc ?