struct EditorSetParameter
{
int Type;
union {
int iParam;
char *cParam;
DWORD Reserved1;
} Param;
DWORD Flags;
DWORD Reserved2;
};
| Option | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| ESPT_AUTOINDENT | Sets the "Auto indent" mode according to iParam=TRUE or FALSE. | ||||||||
| ESPT_CHARCODEBASE | Display format of the current character code in the editor status line.
iParam can have one of the following values:
| ||||||||
| ESPT_CHARTABLE |
Sets the current character table in the editor.
The value of iParam can be:
| ||||||||
| ESPT_CURSORBEYONDEOL | Sets the "Cursor beyond end of line" mode according to iParam=TRUE or FALSE. | ||||||||
| ESPT_EXPANDTABS | Controls the behaviour of tabs to spaces convertion. iParam can be one of the following flags (EXPAND_TABS enum):
| ||||||||
| ESPT_LOCKMODE | Prohibit or allow user to modify the text in the editor (similar to Ctrl-L) according to iParam=TRUE or FALSE. | ||||||||
| ESPT_SAVEFILEPOSITION | Sets the "Save file position" option according to iParam=TRUE or FALSE. | ||||||||
| ESPT_SETWORDDIV | Changes the word delimiter set (using the cParam field)
for the current editor instance. If cParam is NULL or the empty string,
the default delimiter set -
"~!%^&*()+|{}:"<>?`-=\[];',./" - is used.
The word delimiter set cannot contain more than 255 characters.
| ||||||||
| ESPT_GETWORDDIV | Retrieves the word delimiter set (using the cParam field)
for the current editor instance. cParam should point to a buffer of at least 256 characters. | ||||||||
| ESPT_TABSIZE | Changes the tabsize. iParam is the new value - between 1 and 512. If iParam is out of range, tabsize is set to 8. |