Re: adjust the size of the Bricxcc templates pop up window ?
Posted: 27 Oct 2010, 20:49
I think there is confusion about which window Doc is talking about.
The "popup window" is actually a "popup" menu and it is not resizeable except that you can edit the templates and put in column break tokens to reduce the popup menu height. This "window" is only shown if you check the "Show popup menu with templates" option on the Editor|Options tab in the Preferences dialog (which I prefer to leave unchecked). If this option is checked then a right click on the Editor window will show the popup menu with templates in it.
If Doc is talking about the F9 View|Templates window then the window is resizeable and BricxCC remembers its last size and position. Like any resizeable window it can be maximized and resized. It can also be docked next to (i.e., above, below, or beside) the Code Explorer window on the left of the editor area on the main BricxCC window. I always run with the F9 Templates window docked below the Code Explorer window. This window shows templates in a tree structure that is defined using a single level of grouping tokens in the templates file. A "-" or a "|" defines a category or group of API functions. The "|" is used to also force a column break in the popup templates window. You could change all the "-" into "|" and each category would start on a new column in the popup menu.
The way templates work was originally defined by Mark Overmars and I have left it almost entirely unchanged since then. The whole templates system could definitely benefit from a complete overhaul/redesign.
John Hansen
The "popup window" is actually a "popup" menu and it is not resizeable except that you can edit the templates and put in column break tokens to reduce the popup menu height. This "window" is only shown if you check the "Show popup menu with templates" option on the Editor|Options tab in the Preferences dialog (which I prefer to leave unchecked). If this option is checked then a right click on the Editor window will show the popup menu with templates in it.
If Doc is talking about the F9 View|Templates window then the window is resizeable and BricxCC remembers its last size and position. Like any resizeable window it can be maximized and resized. It can also be docked next to (i.e., above, below, or beside) the Code Explorer window on the left of the editor area on the main BricxCC window. I always run with the F9 Templates window docked below the Code Explorer window. This window shows templates in a tree structure that is defined using a single level of grouping tokens in the templates file. A "-" or a "|" defines a category or group of API functions. The "|" is used to also force a column break in the popup templates window. You could change all the "-" into "|" and each category would start on a new column in the popup menu.
The way templates work was originally defined by Mark Overmars and I have left it almost entirely unchanged since then. The whole templates system could definitely benefit from a complete overhaul/redesign.
John Hansen