File | Edit | View | Templates | Windows | Compiler | Run | C/C++ | Help
Notice there are several buttons and a slide located just below the menu bar on the CSD window. The function of each of these is explained below.
Auto - If this box is selected, the CSD is automatically generated when a file is loaded in the CSD window and when a code segment is inserted using the templates menu option.
Generate CSD (C) - Pressing this button generates the CSD on demand. If the source code is syntactically correct, a complete CSD will be generated and the code will be pretty-printed. If the source code is not syntactically correct, an error is returned and the line causing the error is highlighted. Note that this is a pure syntax check; semantic checking is not performed by CSD generation, but is available as a compiler option. The language to which a particular window is sensitive is located on the label for this button, which in this case is C. This function may also be accomplished by pressing the F1 key.
Status Bar - Located at the very bottom of the CSD window, the status bar offers information on cursor location, identifying the cursor's current line and column number. These numbers indicate the cursor's position within the CSD window and will not necessarily correspond to the line numbers returned to the message window as part of compiler errors, especially if the CSD is in the window. (Users should use the Number Lines or Auto Line Numbers options under the View menu to see line numbering that corresponds to those numbers returned by the compiler.) Lines that have been inserted to accomodate the CSD will have an asterisk (*) next to their number on the status bar.