diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/SciLexer.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 83 |
2 files changed, 43 insertions, 41 deletions
diff --git a/include/SciLexer.h b/include/SciLexer.h index 9dece8301..63d4c078b 100644 --- a/include/SciLexer.h +++ b/include/SciLexer.h @@ -31,6 +31,7 @@ #define SCLEX_DIFF 16 #define SCLEX_CONF 17 #define SCLEX_PASCAL 18 +#define SCLEX_AVE 19 #define SCE_P_DEFAULT 0 #define SCE_P_COMMENTLINE 1 #define SCE_P_NUMBER 2 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 034817803..d4e87af3b 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -4,7 +4,7 @@ ## A line starting with ## is a pure comment and should be stripped by readers. ## A line starting with #! is for future shbang use -## A line starting with # followed by a space is a documentation comment and refers +## A line starting with # followed by a space is a documentation comment and refers ## to the next feature definition. ## Each feature is defined by a line starting with fun, get, set, val or evt. @@ -46,10 +46,10 @@ ## point -> x,y ## pointresult -> like point, but output param ## rectangle -> left,top,right,bottom -## Client code should ignore definitions containing types it does not understand, except +## Client code should ignore definitions containing types it does not understand, except ## for possibly #defining the constants -cat Basics +cat Basics ################################################ ## For Scintilla.h @@ -93,14 +93,14 @@ get int GetStyleAt=2010(position pos,) # Redoes the next action on the undo history fun void Redo=2011(,) -# Choose between collecting actions into the undo +# Choose between collecting actions into the undo # history and discarding them. set void SetUndoCollection=2012(bool collectUndo,) # Select all the text in the document. fun void SelectAll=2013(,) -# Remember the current position in the undo history as the position +# Remember the current position in the undo history as the position # at which the document was saved. fun void SetSavePoint=2014(,) @@ -165,7 +165,7 @@ get int GetEOLMode=2030(,) set void SetEOLMode=2031(int eolMode,) # Set the current styling position to pos and the styling mask to mask. -# The styling mask can be used to protect some bits in each styling byte from +# The styling mask can be used to protect some bits in each styling byte from # modification. fun void StartStyling=2032(position pos, int mask) @@ -180,11 +180,11 @@ get bool GetBufferedDraw=2034(,) # before drawing it to the screen to avoid flicker. set void SetBufferedDraw=2035(bool buffered,) -# Change the visible size of a tab to be a multiple of the width of a space +# Change the visible size of a tab to be a multiple of the width of a space # character. set void SetTabWidth=2036(int tabWidth,) -# Retrieve the visible size of a tab. +# Retrieve the visible size of a tab. get int GetTabWidth=2121(,) # The SC_CP_UTF8 value can be used to enter Unicode mode. @@ -354,13 +354,13 @@ fun void SetStylingEx=2073(int length, string styles) # Set a style to be visible or not. set void StyleSetVisible=2074(int style, bool visible) -# Get the time in milliseconds that the caret is on and off. +# Get the time in milliseconds that the caret is on and off. get int GetCaretPeriod=2075(,) # Get the time in milliseconds that the caret is on and off. 0 = steady on. set void SetCaretPeriod=2076(int periodMilliseconds,) -# Set the set of characters making up words for when moving or selecting +# Set the set of characters making up words for when moving or selecting # by word. set void SetWordChars=2077(, string characters) @@ -380,7 +380,7 @@ val INDIC_STRIKE=4 val INDIC0_MASK=32 val INDIC1_MASK=64 val INDIC2_MASK=128 -val INDICS_MASK=INDIC0_MASK | INDIC1_MASK | INDIC2_MASK +val INDICS_MASK=INDIC0_MASK | INDIC1_MASK | INDIC2_MASK # Set an indicator to plain, squiggle or TT. set void IndicSetStyle=2080(int indic, int style) @@ -408,7 +408,7 @@ set void SetLineState=2092(int line, int state) # Retrieve the extra styling information for a line. get int GetLineState=2093(int line,) -# Retrieve the last line number that has line state. +# Retrieve the last line number that has line state. get int GetMaxLineState=2094(,) # Display a auto-completion list. @@ -422,7 +422,7 @@ fun void AutoCCancel=2101(,) # Is there an auto-completion list visible? fun bool AutoCActive=2102(,) -# Retrieve the position of the caret when the auto-completion list was +# Retrieve the position of the caret when the auto-completion list was # displayed. fun position AutoCPosStart=2103(,) @@ -432,7 +432,7 @@ fun void AutoCComplete=2104(,) # Define a set of character that when typed cancel the auto-completion list. fun void AutoCStops=2105(, string characterSet) -# Change the separator character in the string setting up an auto-completion +# Change the separator character in the string setting up an auto-completion # list. Default is space but can be changed if items contain space. set void AutoCSetSeparator=2106(int separatorCharacter,) @@ -442,8 +442,8 @@ get int AutoCGetSeparator=2107(,) # Select the item in the auto-completion list that starts with a string. fun void AutoCSelect=2108(, string text) -# Should the auto-completion list be cancelled if the user backspaces to a -# position before where the box was created. +# Should the auto-completion list be cancelled if the user backspaces to a +# position before where the box was created. set void AutoCSetCancelAtStart=2110(bool cancel,) # Retrieve whether auto-completion cancelled by backspacing before start. @@ -452,19 +452,19 @@ get bool AutoCGetCancelAtStart=2111(,) # Define a set of character that when typed fills up the selected word. set void AutoCSetFillUps=2112(, string characterSet) -# Should a single item auto-completion list automatically choose the item. +# Should a single item auto-completion list automatically choose the item. set void AutoCSetChooseSingle=2113(bool chooseSingle,) -# Retrieve whether a single item auto-completion list automatically choose the item. +# Retrieve whether a single item auto-completion list automatically choose the item. get bool AutoCGetChooseSingle=2114(,) # Set whether case is significant when performing auto-completion searches. set void AutoCSetIgnoreCase=2115(bool ignoreCase,) -# Retrieve state of ignore case flag. +# Retrieve state of ignore case flag. get bool AutoCGetIgnoreCase=2116(,) -# Display a list of strings and send notification when user chooses one. +# Display a list of strings and send notification when user chooses one. fun void UserListShow=2117(int listType, string itemList) # Set the number of spaces used for one level of indentation. @@ -553,9 +553,9 @@ val SC_PRINT_NORMAL=0 val SC_PRINT_INVERTLIGHT=1 # PrintColourMode - force black text on white background for printing. val SC_PRINT_BLACKONWHITE=2 -# PrintColourMode - text stays coloured, but all background is forced to be white for printing. +# PrintColourMode - text stays coloured, but all background is forced to be white for printing. val SC_PRINT_COLOURONWHITE=3 -# PrintColourMode - only the default-background is forced to be white for printing. +# PrintColourMode - only the default-background is forced to be white for printing. val SC_PRINT_COLOURONWHITEDEFAULTBG=4 # Modify colours when printing for clearer printed text. @@ -845,7 +845,7 @@ fun void Cancel=2325(,) # Delete the selection or if no selection, the character before the caret. fun void DeleteBack=2326(,) -# If selection is empty or all on one line replace the selection with a tab +# If selection is empty or all on one line replace the selection with a tab # character. # If more than one line selected, indent the lines. fun void Tab=2327(,) @@ -859,7 +859,7 @@ fun void NewLine=2329(,) # Insert a Form Feed character. fun void FormFeed=2330(,) -# Move caret to before first visible character on line. +# Move caret to before first visible character on line. # If already there move to first character on line. fun void VCHome=2331(,) @@ -936,8 +936,8 @@ val EDGE_BACKGROUND=2 # Retrieve the column number which text should be kept within. get int GetEdgeColumn=2360(,) -# Set the column number of the edge. -# If text goes past the edge then it is highlighted. +# Set the column number of the edge. +# If text goes past the edge then it is highlighted. set void SetEdgeColumn=2361(int column,) # Retrieve the edge highlight mode. @@ -963,7 +963,7 @@ fun int SearchNext=2367(int flags, string text) fun int SearchPrev=2368(int flags, string text) # Show caret within N lines of edge when it's scrolled to view -# If CARET_SLOP not set then centre caret on screen when it's +# If CARET_SLOP not set then centre caret on screen when it's # scrolled to view val CARET_SLOP=0x01 # Value not used @@ -984,13 +984,13 @@ fun void UsePopUp=2371(bool allowPopUp,) # Is the selection a rectangular. The alternative is the more common stream selection. get bool SelectionIsRectangle=2372(,) -# Set the zoom level. This number of points is added to the size of all fonts. +# Set the zoom level. This number of points is added to the size of all fonts. # It may be positive to magnify or negative to reduce. set void SetZoom=2373(int zoom,) # Retrieve the zoom level. get int GetZoom=2374(,) -# Create a new document object. +# Create a new document object. # Starts with reference count of 1 and not selected into editor. fun int CreateDocument=2375(,) # Extend life of document. @@ -1032,7 +1032,7 @@ fun void WordPartRight=2392(,) # Move to the next change in capitalistion extending selection to new caret position. fun void WordPartRightExtend=2393(,) -# Constants for use with SetVisiblePolicy, similar to SetCaretPolicy +# Constants for use with SetVisiblePolicy, similar to SetCaretPolicy val VISIBLE_SLOP=0x01 val VISIBLE_STRICT=0x04 # Set the way the display area is determined when a particular line is to be moved to. @@ -1048,10 +1048,10 @@ fun void StartRecord=3001(,) # Stop notifying the container of all key presses and commands. fun void StopRecord=3002(,) -# Set the lexing language of the document. +# Set the lexing language of the document. set void SetLexer=4001(int lexer,) -# Retrieve the lexing language of the document. +# Retrieve the lexing language of the document. get int GetLexer=4002(,) # Colourise a segment of the document using the current lexing language. @@ -1133,6 +1133,7 @@ val SCLEX_LUA=15 val SCLEX_DIFF=16 val SCLEX_CONF=17 val SCLEX_PASCAL=18 +val SCLEX_AVE=19 # Lexical states for SCLEX_PYTHON val SCE_P_DEFAULT=0 val SCE_P_COMMENTLINE=1 @@ -1365,7 +1366,7 @@ evt void PosChanged=2012(int position) evt void Painted=2013(void) evt void UserListSelection=2014(int listType, string text) -cat Deprecated +cat Deprecated ################################################ # From WinDefs.h @@ -1507,9 +1508,9 @@ fun void WM_SetText=12(, string text) fun void WM_Undo=772(,) # Notification codes -val EN_CHANGE=768 -val EN_KILLFOCUS=512 -val EN_SETFOCUS=256 +val EN_CHANGE=768 +val EN_KILLFOCUS=512 +val EN_SETFOCUS=256 # Flags for setting margins. val EC_LEFTMARGIN=1 @@ -1517,13 +1518,13 @@ val EC_RIGHTMARGIN=2 val EC_USEFONTINFO=0xffff # Selection type. -val SEL_EMPTY=0 -val SEL_TEXT=1 +val SEL_EMPTY=0 +val SEL_TEXT=1 # Find replace mask constants -val FR_MATCHCASE=0x4 -val FR_WHOLEWORD=0x2 -val FR_DOWN=0x1 +val FR_MATCHCASE=0x4 +val FR_WHOLEWORD=0x2 +val FR_DOWN=0x1 # Key modifier flag. val SHIFT_PRESSED=1 |