|
|
|
|
Functions
Events
MioScript Reference
|
|
Syntax
| sci.ID.sendMessage.NN(MessageID, Param1, Param2) |
Parameters
| ID | MessageID | Message ID as defined in sci_vars.k
| | STRING | Param1 | First parameter
| | STRING | Param2 | Second parameter |
Return value
Description
Send a message to the Scintilla editor.
The latest key NN can be:
SS: First argument is a string, second argument is a string.
SN: First argument is a string, second argument is a number.
NS: First argument is a number, second argument is a string.
NN: Default - First argument is a number, second argument is a number.
If not specified: First argument is a number, second argument is a number.
For more information: Scintilla Documentation |
MioScript Sample Code
// Enable line numbering
sci.&sci_ID.sendMessage(&SCI_SETMARGINTYPEN, 0, 1)
// Get the len of the first line
&len = sci.&sci_ID.sendMessage(&SCI_LINELENGTH, 0) |
|
|
|