AllowedWordSymbols
Syntax
AllowedWordSymbols=<ch><ch>...
Description
In folding you may use ~ to indicate that an identifier may be preseded by words. This options allow you to add symbols that may be allowed in words.
Example
AllowedWordSymbols=_-
Fold_Id=~function
Fold_Begin={
Fold_End=}
This will allow "function" to be identified in the line below:
public TImage-Type_A function(int n) {
Case
Syntax
Case=<Yes|No>
Description
Set this option to yes if the folding identifiers are case sensitive.
DefaultBegin / DefaultEnd
Syntax
DefaultBegin=<string>
DefaultEnd=<string>
Description
Code folding is based on indention. But the editor may use these strings to determin the best start and end line for the fold.
Example
In the code below the editor will use the default string values to set the correct lines to fold for the if statement. Otherwise only indention is used and the fold start and fold end would end up differently.
DefaultBegin={
DefaultEnd=}
void Test(int n);
{
+ if(...)
| {
| // code
- };
};
FoldLineComments
Syntax
FoldLineComments=<yes|no>
Description
The default value for this option is "yes". This is the default behavior. But only if a block of 4 lines or more are found.
Use this option to turn folding of line comments off entirely.
Example
FoldLineComments=no
FoldOnIndention
Syntax
FoldOnIndention=<yes|no>
Description
The default value for this option is "yes". This is the default behavior. You only need to set this option if you want to turn indention based code folding off.
If you set this to "no" - nothing will be folded. Except the items you define in the [Fold] section. Each defined fold item also have to be set as a region.
(Fold_Level=nltNestedRegion|nltRegion)
Example
FoldOnIndention=no
Fold_Id=^;Start_Region
Fold_Begin=
Fold_End=^;End_Region
Fold_Level=nltNestedRegion
Fold_ListItem=ceMethod
List_Exclude
Syntax
List_Exclude=<string>|<string>...
Description
The editor may try to identify classes and methods automatically and list them in the code explorer. To help the editor out - you can add identifiers that are not methods or classes.
Example
List_Exclude=case|if|for|while|...
Fold_Id=
Fold_Begin={
Fold_End=}
Fold_ListItem=ceMethod
This would list all methods and statements like "if () {" as methods in the code explorer - if we didn't use an exclude list. Now, hopefully, only real methods are listed in the code explorer and not if, for, while statements.
List_ClassSeparator
Syntax
List_ClassSeparator=<string>
Description
In some languages a class function consist of a class name and a function name divided by a separator. In C++ the separator is "::".
Example
So in a C++ syntax file we should enter:
List_ClassSeparator=::
This will add the functions to the right class in the code explorer.
|