X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65ec6247df6af7b6489257b1ac04ca2242dc14ec..8916d00747c8e7b704ad549afcd8d0f88b6d861e:/contrib/src/stc/scintilla/include/Scintilla.iface diff --git a/contrib/src/stc/scintilla/include/Scintilla.iface b/contrib/src/stc/scintilla/include/Scintilla.iface index 90360076fa..7724efdb00 100644 --- a/contrib/src/stc/scintilla/include/Scintilla.iface +++ b/contrib/src/stc/scintilla/include/Scintilla.iface @@ -229,6 +229,8 @@ val SC_MARK_CIRCLEPLUSCONNECTED=19 val SC_MARK_CIRCLEMINUS=20 val SC_MARK_CIRCLEMINUSCONNECTED=21 +val SC_MARK_CHARACTER=10000 + # Markers used for outlining column val SC_MARKNUM_FOLDEREND=25 val SC_MARKNUM_FOLDEROPENMID=26 @@ -292,12 +294,15 @@ set void SetMarginSensitiveN=2246(int margin, bool sensitive) # Retrieve the mouse click sensitivity of a margin. get bool GetMarginSensitiveN=2247(int margin,) +# Styles in range 32..37 are predefined for parts of the UI and are not used as normal styles. +# Styles 38 and 39 are for future use. val STYLE_DEFAULT=32 val STYLE_LINENUMBER=33 val STYLE_BRACELIGHT=34 val STYLE_BRACEBAD=35 val STYLE_CONTROLCHAR=36 val STYLE_INDENTGUIDE=37 +val STYLE_LASTPREDEFINED=39 val STYLE_MAX=127 # Character set identifiers are used in StyleSetCharacterSet. @@ -759,10 +764,12 @@ set void SetTargetEnd=2192(position pos,) get position GetTargetEnd=2193(,) # Replace the target text with the argument text. +# Text is counted so it can contain nulls. # Returns the length of the replacement text. fun int ReplaceTarget=2194(int length, string text) # Replace the target text with the argument text after \d processing. +# Text is counted so it can contain nulls. # Looks for \d where d is between 1 and 9 and replaces these with the strings # matched in the last search operation which were surrounded by \( and \). # Returns the length of the replacement text including any change @@ -770,7 +777,7 @@ fun int ReplaceTarget=2194(int length, string text) fun int ReplaceTargetRE=2195(int length, string text) # Search for a counted string in the target and set the target to the found -# range. +# range. Text is counted so it can contain nulls. # Returns length of range or -1 for failure in which case target is not moved. fun int SearchInTarget=2197(int length, string text) @@ -1265,6 +1272,7 @@ val SCLEX_RUBY=22 val SCLEX_EIFFEL=23 val SCLEX_EIFFELKW=24 val SCLEX_TCL=25 +val SCLEX_NNCRONTAB=26 # When a lexer specifies its language as SCLEX_AUTOMATIC it receives a # value assigned in sequence from SCLEX_AUTOMATIC+1. val SCLEX_AUTOMATIC=1000 @@ -1301,6 +1309,8 @@ val SCE_C_VERBATIM=13 val SCE_C_REGEX=14 val SCE_C_COMMENTLINEDOC=15 val SCE_C_WORD2=16 +val SCE_C_COMMENTDOCKEYWORD=17 +val SCE_C_COMMENTDOCKEYWORDERROR=18 # Lexical states for SCLEX_HTML, SCLEX_XML val SCE_H_DEFAULT=0 val SCE_H_TAG=1 @@ -1327,7 +1337,17 @@ val SCE_H_VALUE=19 # X-Code val SCE_H_XCCOMMENT=20 # SGML -val SCE_H_SGML=21 +val SCE_H_SGML_DEFAULT=21 +val SCE_H_SGML_COMMAND=22 +val SCE_H_SGML_1ST_PARAM=23 +val SCE_H_SGML_DOUBLESTRING=24 +val SCE_H_SGML_SIMPLESTRING=25 +val SCE_H_SGML_ERROR=26 +val SCE_H_SGML_SPECIAL=27 +val SCE_H_SGML_ENTITY=28 +val SCE_H_SGML_COMMENT=29 +val SCE_H_SGML_1ST_PARAM_COMMENT=30 +val SCE_H_SGML_BLOCK_DEFAULT=31 # Embedded Javascript val SCE_HJ_START=40 val SCE_HJ_DEFAULT=41 @@ -1547,6 +1567,18 @@ val SCE_EIFFEL_CHARACTER=5 val SCE_EIFFEL_OPERATOR=6 val SCE_EIFFEL_IDENTIFIER=7 val SCE_EIFFEL_STRINGEOL=8 +# Lexical states for the SCLEX_NNCRONTAB (nnCron crontab Lexer) +val SCE_NNCRONTAB_DEFAULT=0 +val SCE_NNCRONTAB_COMMENT=1 +val SCE_NNCRONTAB_TASK=2 +val SCE_NNCRONTAB_SECTION=3 +val SCE_NNCRONTAB_KEYWORD=4 +val SCE_NNCRONTAB_MODIFIER=5 +val SCE_NNCRONTAB_ASTERISK=6 +val SCE_NNCRONTAB_NUMBER=7 +val SCE_NNCRONTAB_STRING=8 +val SCE_NNCRONTAB_ENVIRONMENT=9 +val SCE_NNCRONTAB_IDENTIFIER=10 # Events @@ -1574,171 +1606,3 @@ evt void DwellStart=2016(int position) evt void DwellEnd=2017(int position) cat Deprecated - -val SCFIND_DOWN=1 - -################################################ -# From WinDefs.h - -# ***** DEPRECATED from here to end of file ****** - -# Will a paste succeed? -fun bool EM_CanPaste=1074(,) - -# Are there any undoable actions in the undo history. -fun bool EM_CanUndo=198(,) - -# Find the position and line from a point within the window. -fun int EM_CharFromPos=215(,point pt) - -# Delete the undo history. -fun void EM_EmptyUndoBuffer=205(,) - -# Retrieve the selection range. -fun void EM_ExGetSel=1076(,charrangeresult cr) - -# Retrieve the line number of a position in the document. -get int EM_ExLineFromChar=1078(,position pos) - -# Select a range of text. -fun void EM_ExSetSel=1079(,charrange cr) - -# Find some text in the document. -fun position EM_FindText=1080(int flags, findtext ft) - -# Find some text in the document. Returns range of found text in ft argument. -fun position EM_FindTextEx=1103(int flags, findtextex ft) - -# On Windows will draw the document into a display context such as a printer. -fun void EM_FormatRange=1081(bool draw, formatrange fr) - -# Retrieve the line at the top of the display. -get int EM_GetFirstVisibleLine=206(,) - -# Retrieve the contents of a line. -# Returns the length of the line. -fun int EM_GetLine=196(int line, countedstring text) - -# Returns the number of lines in the document. There is always at least one. -fun int EM_GetLineCount=186(,) - -# Returns the size in pixels of left and right margins packed into one integer. -# The left margin is in the low half and the right margin in the high half. -fun int EM_GetMargins=212(,) - -# Is the document different from when it was last saved? -get bool EM_GetModify=184(,) - -# Get the area used to display the document. -fun void EM_GetRect=178(,rectangle r) - -# Return the selection packed into one integer with the start of the selection -# in the low half and the end in the high half. -fun int EM_GetSel=176(,) - -# Retrieve the selected text. -# Return the length of the text. -fun int EM_GetSelText=1086(,stringresult text) - -# Retrieve a range of text. -# Return the length of the text. -fun int EM_GetTextRange=1099(, textrange tr) - -# Draw the selection in normal style or with selection highlighted. -fun void EM_HideSelection=1087(bool normal,) - -# Retrieve the line of a position. -fun int EM_LineFromChar=201(position pos,) - -# Retrieve the position at the start of a line. -fun position EM_LineIndex=187(int line,) - -# Retrieve the number of characters on a line not including end of line characters. -fun int EM_LineLength=193(int line,) - -# Scroll horizontally and vertically. -fun void EM_LineScroll=182(int columns, int lines) - -# Retrieve the point in the window where a position is displayed. -fun void EM_PosFromChar=214(pointresult pt, position pos) - -# Replace the selected text with the argument text. -fun void EM_ReplaceSel=194(, string text) - -# Ensure the caret is visible. -fun void EM_ScrollCaret=183(,) - -# Returns SEL_EMPTY if selection contains no characters, otherwise SEL_TEXT. -fun void EM_SelectionType=1090(,) - -# Set the width of the left and right margins -fun void EM_SetMargins=211(int flags, int values) - -# Set to read only or read write. -set void EM_SetReadOnly=207(bool readOnly,) - -# Select the range of text from start to end. -fun void EM_SetSel=177(position start, position end) - -# Undo one action in the undo history. -fun void EM_Undo=199(,) - -# Null operation. -fun void WM_Null=0(,) - -# Clear the selection. -fun void WM_Clear=771(,) - -fun void WM_Command=273(,) - -# Copy the selection to the clipboard. -fun void WM_Copy=769(,) - -# Cut the selection to the clipboard. -fun void WM_Cut=768(,) - -# Retrieve all the text in the document. -# Returns number of characters retrieved. -fun int WM_GetText=13(int length, stringresult text) - -# Retrieve the number of characters in the document. -fun int WM_GetTextLength=14(,) - -# Notification back to container -fun void WM_Notify=78(int id, int stuff) - -# Paste the contents of the clipboard into the document replacing the selection. -fun void WM_Paste=770(,) - -# Replace the contents of the document with the argument text. -fun void WM_SetText=12(, string text) - -# Undo one action in the undo history. -fun void WM_Undo=772(,) - -# Notification codes -val EN_CHANGE=768 -val EN_KILLFOCUS=512 -val EN_SETFOCUS=256 - -# Flags for setting margins. -val EC_LEFTMARGIN=1 -val EC_RIGHTMARGIN=2 -val EC_USEFONTINFO=0xffff - -# Selection type. -val SEL_EMPTY=0 -val SEL_TEXT=1 - -# Find replace mask constants -val FR_MATCHCASE=0x4 -val FR_WHOLEWORD=0x2 -val FR_DOWN=0x1 - -# Key modifier flag. -val SHIFT_PRESSED=1 -val LEFT_CTRL_PRESSED=2 -val LEFT_ALT_PRESSED=4 - -#events -evt void EN_Change=768(void)