![]() |
|
|
The Settings dialog box of EditorEnhancement allows you to specify additional parameters and settings, which affect behaviour of the add-in commands, such as style of AutoTyping; the number of lines to parse to show Parenthesis Contents; colors and shapes of the Custom Caret; default parameters of Files Comparison; availability of the Source Text Collapsing and the Enhanced Window List. The last tab of the dialog box allows you to register your copy of the EditorEnhancement add-in.
Press the button
If you choose Style 1 then the opening brace will be placed on the NEXT line after the statement:
if (i == 1)
{
i++;
}
else
{
i--;
}
Choosig Style 2 means that the opening brace will be automatically placed on the SAME line:
if (i == 1) {
i++;
}
else {
i--;
}
The remaining parameters of the statements formatting (like indentation style, tab size and so on) correspond to the settings of your Developer Studio editor. The image at the right side of the autotyping property page represents both statement view sample according to the Style (1 or 2) and current autotyping key (presented sample shows SPACE). You can change the current autotyping key by pressing the "Key" button.
Add-in allows further customization of autotiping statements. You can disable or enable any of the standard (predefined) statements listed here. On the other hand it is possible to define any number of custom statements, which will be autotyped just like standard statements. To customize autotyping statements press the "Customize" button.
To create new statement or edit previously created one press "New" or "Edit" button. You will see the dialog window presented below.
Name of the variable must be enclosed into parenthesis and surrounded by $ sign: $(VARIABLE)$. For example, to insert name of current file into autotyping statement you should write the following: $(FILENAME)$ Complete sets of these variables presented in "Environment variable"
and "Predefined variable" comboboxes. Pressing the button
Bottom editbox is filled automatically as you type your statement. Nonetheless you are free to enter any word there. This editbox contains keyword, which will cause autotyping of the corresponding statement. By default text cursor is placed after the last character of the autotyped statement. This may be changed by doubleclicking left mouse button over desired position in editor window or pressing ALT+F key combination. In latter case statement caret will be positioned in current place of the caret in editor window. Fixed caret position is denoted by the small red triangle under the text line.
To define color and shape (width and height) of the custom caret for the insert mode, select "Insert" in the Mode combobox. Then, define the width and height of the caret (using percentage of the symbol's width and height). Next, choose appropriate color of the caret by clicking over the Color rectangle. You will be presented with a standard dialog for color selection. The same procedure may be used for "Overtype" mode. Please note how the background and foreground color, as well as the color and sizes of the blinking custom caret in the picture presented in the right half of the dialog, corresponds to the current Developer Studio settings.
If the 'Mark unmatched lines' checkbox is set to ON, then those lines of the first file, which do not have corresponding lines in the second file (and vice versa) will be marked as a bookmark. Marking unmatched lines allows easy navigation from line to line by standard Developer Studio means. If 'Ignore leading spaces' checkbox is set to ON, then the lines that differ only in leading spaces are treated as equal to each other.
The last tab of the EditorEnhancement settings dialog allows you to register your copy of the add-in. EditorEnhancement is Shareware -- not free. You may use this software without registration during a limited period of time. If you bought this product then you should enter your name and registration code that has been emailed to you to unlock the software.
|
| Copyright © Inpek 7th world., 2001, All Rights Reserved. |