diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.iface | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 32297f772..e7f61202b 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -30,7 +30,8 @@ ## bool -> integer, 1=true, 0=false ## position -> integer position in a document ## colour -> colour integer containing red, green and blue bytes. -## string -> pointer to character +## string -> pointer to const character +## stringresult -> pointer to character ## cells -> pointer to array of cells, each cell containing a style byte and character byte ## textrange -> complex structure ## keymod -> integer containing key in low half and modifiers in high half @@ -49,13 +50,13 @@ val SCI_OPTIONAL_START=3000 val SCI_LEXER_START=4000 # Add text to the document -fun void AddText=2001(int length, string s) +fun void AddText=2001(int length, string text) # Add array of cells to document -fun void AddStyledText=2002(int length, cells s) +fun void AddStyledText=2002(int length, cells c) # Insert string at a position -fun void InsertText=2003(position pos, string s) +fun void InsertText=2003(position pos, string text) # Delete all text in the document fun void ClearAll=2004(,) @@ -123,7 +124,7 @@ fun void SetAnchor=2026(position posAnchor,) # Retrieve the text of the line containing the caret. # Returns the index of the caret on the line. -fun int GetCurLine=2027(,string text) +fun int GetCurLine=2027(,stringresult text) # Retrieve the position of the last correctly styled character. get position GetEndStyled=2028(,) @@ -951,7 +952,7 @@ fun int EM_GetSel=176(,) # Retrieve the selected text. # Return the length of the text. -fun int EM_GetSelText=1086(,string text) +fun int EM_GetSelText=1086(,stringresult text) # Retrieve a range of text. # Return the length of the text. @@ -1012,7 +1013,7 @@ fun void WM_Cut=768(,) # Retrieve all the text in the document. # Returns number of characters retrieved. -fun int WM_GetText=13(int length, string text) +fun int WM_GetText=13(int length, stringresult text) # Retrieve the number of characters in the document. fun void WM_GetTextLength=14(,) |