diff options
-rw-r--r-- | doc/Lexer.txt | 2 | ||||
-rw-r--r-- | doc/ScintillaDoc.html | 16 | ||||
-rw-r--r-- | doc/ScintillaHistory.html | 2 | ||||
-rw-r--r-- | src/Editor.cxx | 2 |
4 files changed, 11 insertions, 11 deletions
diff --git a/doc/Lexer.txt b/doc/Lexer.txt index 9b9e54f5a..d7023b36b 100644 --- a/doc/Lexer.txt +++ b/doc/Lexer.txt @@ -89,7 +89,7 @@ loop iterates over characters, like this: An alternative would be to use a "state-based" approach. The outer loop would iterate over states, like this: - lengthDoc = startPos+lenth ; + lengthDoc = startPos+length ; for ( unsigned int i = startPos ;; ) { char ch = styler.SafeGetCharAt(i); int new_state = 0 ; diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index a2af4f64f..2d0cd4679 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -2031,7 +2031,7 @@ struct Sci_TextToFindFull { <p><b id="SCI_GETUNDOSEQUENCE">SCI_GETUNDOSEQUENCE → int</b><br /> Determine if an undo sequence is active with a positive value indicating that a sequence is active and 0 that there is no current sequence. The value returned is the nesting depth of the sequence, that is, the number of times <code>SCI_BEGINUNDOACTION</code> - was called without a correspnding <code>SCI_ENDUNDOACTION</code>. + was called without a corresponding <code>SCI_ENDUNDOACTION</code>. A negative value indicates an error.</p> <p><b id="SCI_ADDUNDOACTION">SCI_ADDUNDOACTION(int token, int flags)</b><br /> @@ -3840,8 +3840,8 @@ struct Sci_TextToFindFull { <p><b id="SCI_STYLESETINVISIBLEREPRESENTATION">SCI_STYLESETINVISIBLEREPRESENTATION(int style, const char *representation)</b><br /> <b id="SCI_STYLEGETINVISIBLEREPRESENTATION">SCI_STYLEGETINVISIBLEREPRESENTATION(int style, char *representation NUL-terminated) → int</b><br /> When a style is made invisible with <a class="seealso" href="#SCI_STYLESETVISIBLE">SCI_STYLESETVISIBLE</a>, text is difficult to edit as - the cursor can be at both sides of the invisible text segment. With these messages invisible text segements can be made visible with a single - UTF8 characater giving the user an indication if the cursor is left or right of the invisible text. The character is displayed using the current style.</p> + the cursor can be at both sides of the invisible text segment. With these messages invisible text segments can be made visible with a single + UTF8 character giving the user an indication if the cursor is left or right of the invisible text. The character is displayed using the current style.</p> <p>The <code>representation</code> parameter is a zero terminated string holding the one character used to represent the invisible text segment. Only the first character is used, the character is decoded as UTF-8.</p> @@ -8274,10 +8274,10 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ style is wider than the window then the break occurs after the last character that completely fits on the line. The horizontal scroll bar does not appear when wrap mode is on.</p> - <p>For wrapped lines Scintilla can draw visual flags (little arrows) at end of a a subline of a - wrapped line and at begin of the next subline. These can be enabled individually, but if Scintilla - draws the visual flag at the beginning of the next subline this subline will be indented by one char. - Independent from drawing a visual flag at the begin the subline can have an indention.</p> + <p>For wrapped lines Scintilla can draw visual flags (little arrows) at end of a a subline of a + wrapped line and at begin of the next subline. These can be enabled individually, but if Scintilla + draws the visual flag at the beginning of the next subline this subline will be indented by one char. + Independent from drawing a visual flag at the begin the subline can have an indentation.</p> <p>Much of the time used by Scintilla is spent on laying out and drawing text. The same text layout calculations may be performed many times even when the data used in these calculations @@ -8441,7 +8441,7 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ <a class="message" href="#StyleDefinition"><code>STYLE_DEFAULT</code></a>. There are no limits on indent sizes, but values less than 0 or large values may have undesirable effects.<br /> - The indention of sublines is independent of visual flags, but if + The indentation of sublines is independent of visual flags, but if <code>SC_WRAPVISUALFLAG_START</code> is set an indent of at least 1 is used. </p> diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index d4dfa7943..0e04865d8 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -1793,7 +1793,7 @@ </li> <li> Remove SetLexer, SetLexerLanguage, and LoadLexerLibrary methods. - These have been superceded by Lexilla and the SetILexer API. + These have been superseded by Lexilla and the SetILexer API. </li> <li> Improve the platform layer interface. diff --git a/src/Editor.cxx b/src/Editor.cxx index 8bc5d036a..f5b6b2c03 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -9135,7 +9135,7 @@ sptr_t Editor::WndProc(Message iMessage, uptr_t wParam, sptr_t lParam) { return DefWndProc(iMessage, wParam, lParam); } - // If there was a change that needs its selection saved and it wasn't explicity saved + // If there was a change that needs its selection saved and it wasn't explicitly saved // then do that here. RememberCurrentSelectionForRedoOntoStack(); |