diff options
-rw-r--r-- | doc/ScintillaDoc.html | 28 | ||||
-rw-r--r-- | include/Scintilla.iface | 24 |
2 files changed, 23 insertions, 29 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 270160098..329cdbf58 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -415,7 +415,7 @@ SCI_SETUSETABS(bool usetabs) <p> SCI_SETTABWIDTH sets the size of a tab as a multiple of the size of a space character in the style of the first style definition. SCI_SETINDENT sets the size of indentation in terms of characters. - SCI_SETUSETABS determines whether indentation should be created out of a micture of tabs + SCI_SETUSETABS determines whether indentation should be created out of a mixture of tabs and space or be based purely on spaces. </p> <pre> @@ -425,7 +425,7 @@ SCI_GETLINEINDENTPOSITION(int line) </pre> <p> The amount of indentation on a line can be discovered and set with SCI_GETLINEINDENTATION and - SCI_SETLINEINDENTATION. The indnetation is measuered in character columns which correspond + SCI_SETLINEINDENTATION. The indentation is measured in character columns which correspond to the width of space characters. SCI_GETLINEINDENTPOSITION returns the position at the end of indentation of a line. </p> @@ -502,7 +502,7 @@ SCI_MARKERDELETEHANDLE(int handle) Markers appear in the selection margin to the left of the text. They are small geometric symbols often used in debuggers to indicate breakpoints and the current line. If the selection margin is set to zero width then the background colour of the whole line is changed - instead. There may be upto 32 marker symbols defined and each line has a set of these markers + instead. There may be up to 32 marker symbols defined and each line has a set of these markers associated with it. The markers are drawn in the order of their numbers. Markers try to move with their text by tracking where the start of their line moves. When a line is deleted, its markers are combined, by an or operation, with the markers of the previous line. The @@ -762,7 +762,7 @@ SCI_ENSUREVISIBLE(int line) manipulated with SCI_SETFOLDEXPANDED and SCI_GETFOLDEXPANDED. Using SCI_SETFOLDEXPANDED does not show or hide any lines but only changes a state flag and the margin markers - that show the contractrion state. SCI_TOGGLEFOLD performs the expansion + that show the contraction state. SCI_TOGGLEFOLD performs the expansion or contraction of a fold point in the manner normally expected. </p> <p> @@ -781,7 +781,7 @@ SCI_GETZOOM </pre> <p> The text can be made larger and smaller by using SCI_ZOOMIN and SCI_ZOOMOUT. - The zoom level can be retreived by SCI_GETZOOM and set by SCI_SETZOOM. The zoom factors + The zoom level can be retrieved by SCI_GETZOOM and set by SCI_SETZOOM. The zoom factors may range from -10 to + 20 and is added to each styles point size. The calculated point size never goes below 2. </p> @@ -801,7 +801,7 @@ SCI_SETEDGECOLOUR(int colour) vertical line can be displayed at the specified column number (EDGE_LINE) or characters after that column can be displayed with a specified background colour (EDGE_BACKGROUND). The vertical line works well for monospaced fonts but not for proportional fonts which should use - EDGE_BACKGROUND. The defaullt is to not have any form of long line marking (EDGE_NONE). + EDGE_BACKGROUND. The default is to not have any form of long line marking (EDGE_NONE). </p> <h3> Lexer @@ -816,7 +816,7 @@ SCI_SETKEYWORDS(int keywordset, char *keywordlist) <p> If the SciLexer version of Scintilla is used, then lexing support for some programming languages is included. A particular lexer may be chosen from the SCLEX* enumeration and it is invoked - automatically to dtyle the coument as required. + automatically to style the document as required. If the lexer is set to SCLEX_CONTAINER then the container is notified to perform styling as is the case with the standard Scintilla.DLL version. Styling may be requested for a range of the document by using SCI_COLOURISE. @@ -824,7 +824,7 @@ SCI_SETKEYWORDS(int keywordset, char *keywordlist) <p> Settings can be communicated to the lexers using SCI_SETPROPERTY. Currently the "fold" property is defined for the SCLEX_PYTHON, SCLEX_CPP, and SCLEX_SQL lexers to - set the fold stucture if set to "1". SCLEX_PYTHON understands "tab.timmy.whinge.level" + set the fold structure if set to "1". SCLEX_PYTHON understands "tab.timmy.whinge.level" as a setting that determines how to indicate bad indentation. Many languages style a set of keywords distinctly from other words. Some languages, such as HTML may contain embedded languages, VBScript and Javascript are common for HTML. SCI_SETKEYWORDS specifies the keywords @@ -972,21 +972,15 @@ EM_GETIMEOPTIONS EM_SETIMEOPTIONS EM_GETOPTIONS EM_SETOPTIONS EM_GETPUNCTUATION EM_SETPUNCTUATION EM_GETTHUMB -</pre> - <p> - Scintilla tries to be a superset of the standard windows Edit and Richedit controls wherever - that makes sense. As it is not intended for use in a word processor, some edit messages can - not be sensibly handled. Unsupported messages have no effect. - </p> -<pre> EM_GETEVENTMASK EM_SETEVENTMASK EM_DISPLAYBAND EM_SETTARGETDEVICE </pre> <p> - To support printing better and control the notifications fired, these messages should be - supported but are not yet. + Scintilla tries to be a superset of the standard windows Edit and Richedit controls wherever + that makes sense. As it is not intended for use in a word processor, some edit messages can + not be sensibly handled. Unsupported messages have no effect. </p> <h3> Building Scintilla on Windows diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 917b8cf03..32297f772 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -3,7 +3,7 @@ ## This file defines the interface to Scintilla ## A line starting with ## is a pure comment and should be stripped by readers. -## A line statring with #!! is for future shbang use +## A line starting with #!! is for future shbang use ## A line starting with # followed by a space is a documentation comment and refers ## to the next feature definition. @@ -99,7 +99,7 @@ fun int GetStyledText=2015(, textrange tr) # Are there any redoable actions in the undo history. fun bool CanRedo=2016(,) -# Retrieve the line number at which a paticular marker is located +# Retrieve the line number at which a particular marker is located fun int MarkerLineFromHandle=2017(int handle,) # Delete a marker. @@ -117,7 +117,7 @@ fun void GotoLine=2024(int line,) # Set caret to a position and ensure it is visible. fun void GotoPos=2025(position pos,) -# Set the selection anchr to a position. The anchor is the opposite +# Set the selection anchor to a position. The anchor is the opposite # end of the selection from the caret. fun void SetAnchor=2026(position posAnchor,) @@ -234,7 +234,7 @@ set void SetMarginMaskN=2244(int margin, int mask) # Retrieve the marker mask of a margin. get int GetMarginMaskN=2245(int margin,) -# Make a margin sensititve or insensitive to mouse clicks. +# Make a margin sensitive or insensitive to mouse clicks. set void SetMarginSensitiveN=2246(int margin, bool sensitive) # Retrieve the mouse click sensitivity of a margin. @@ -400,7 +400,7 @@ set void SetLineIndentation=2126(int line, int indentSize) # Retrieve the number of columns that a line is indented. get int GetLineIndentation=2127(int line,) -# Retrieve the position before the first non indentatin character on a line. +# Retrieve the position before the first non indentation character on a line. get position GetLineIndentPosition=2128(int line,) # Show or hide the horizontal scroll bar @@ -449,7 +449,7 @@ get int GetFoldLevel=2223(int line,) # Find the last child line of a header line. get int GetLastChild=2224(int line,) -# Find the parent line of a child line line. +# Find the parent line of a child line. get int GetFoldParent=2225(int line,) # Make a range of lines visible. @@ -596,7 +596,7 @@ fun void LineCut=2337(,) # Delete the line containing the caret. fun void LineDelete=2338(,) -# Switch the currrent line with the previous. +# Switch the current line with the previous. fun void LineTranspose=2339(,) # Transform the selection to lower case. @@ -612,7 +612,7 @@ fun void LineScrollDown=2342(,) fun void LineScrollUp=2343(,) # How many characters are on a line, not including end of line characters. -fun int LineLength=2350(ine line,) +fun int LineLength=2350(int line,) # Highlight the characters at two positions. fun void BraceHighlight=2351(position pos1,position pos2) @@ -620,7 +620,7 @@ fun void BraceHighlight=2351(position pos1,position pos2) # Highlight the character at a position indicating there is no matching brace. fun void BraceBadLight=2352(position pos,) -# Fnd the position of a matching brace or INVALID_POSITION if no match. +# Find the position of a matching brace or INVALID_POSITION if no match. fun position BraceMatch=2353(position pos,) # Are the end of line characters visible. @@ -708,10 +708,10 @@ set void SetLexer=4001(int lexer,) # Retrieve the lexing language of the document. get int GetLexer=4002(,) -# Colourise a segment of teh document using the current lexing language. +# Colourise a segment of the document using the current lexing language. fun void Colourise=4003(position start, position end) -# Setup a value that may be used by a lexer for some optional feature. +# Set up a value that may be used by a lexer for some optional feature. set void SetProperty=4004(string key, string value) # Set up the key words used by the lexer. @@ -910,7 +910,7 @@ fun void EM_EmptyUndoBuffer=205(,) # Retrieve the selection range. fun void EM_ExGetSel=1076(,charrange cr) -# Retriev ethe line number of a position in the document. +# Retrieve the line number of a position in the document. get int EM_ExLineFromChar=1078(,position pos) # Select a range of text. |