diff options
author | Stefan Weil <sw@weilnetz.de> | 2014-01-20 07:46:22 +0100 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2014-01-20 07:46:22 +0100 |
commit | 9bb337e9232502a979a64f3c78aee82b8c5e8375 (patch) | |
tree | 712f9eae459b1b25a188a119b4b75800933b1b01 | |
parent | 82c802cc4db4d783f7255cc7f8489a7e03a65687 (diff) | |
download | scintilla-mirror-9bb337e9232502a979a64f3c78aee82b8c5e8375.tar.gz |
Fix typos in comments (lexers)
-rw-r--r-- | lexers/LexCPP.cxx | 4 | ||||
-rw-r--r-- | lexers/LexCoffeeScript.cxx | 2 | ||||
-rw-r--r-- | lexers/LexFortran.cxx | 2 | ||||
-rw-r--r-- | lexers/LexPerl.cxx | 6 | ||||
-rw-r--r-- | lexers/LexRuby.cxx | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/lexers/LexCPP.cxx b/lexers/LexCPP.cxx index 9e99b5ce8..7fe680991 100644 --- a/lexers/LexCPP.cxx +++ b/lexers/LexCPP.cxx @@ -723,13 +723,13 @@ void SCI_METHOD LexerCPP::Lex(unsigned int startPos, int length, int initStyle, // Inside inactive preprocessor declaration, state will be reset anyway at the end of this block. if ((sc.state == SCE_C_STRING) || (sc.state == SCE_C_CHARACTER)) { // Prevent SCE_C_STRINGEOL from leaking back to previous line which - // ends with a line continuation by locking in the state upto this position. + // ends with a line continuation by locking in the state up to this position. sc.SetState(sc.state); } if ((MaskActive(sc.state) == SCE_C_PREPROCESSOR) && (!continuationLine)) { sc.SetState(SCE_C_DEFAULT|activitySet); } - // Reset states to begining of colourise so no surprises + // Reset states to beginning of colourise so no surprises // if different sets of lines lexed. visibleChars = 0; lastWordWasUUID = false; diff --git a/lexers/LexCoffeeScript.cxx b/lexers/LexCoffeeScript.cxx index fc9b4998a..c52a5a42b 100644 --- a/lexers/LexCoffeeScript.cxx +++ b/lexers/LexCoffeeScript.cxx @@ -158,7 +158,7 @@ static void ColouriseCoffeeScriptDoc(unsigned int startPos, int length, int init for (; sc.More(); sc.Forward()) { if (sc.atLineStart) { - // Reset states to begining of colourise so no surprises + // Reset states to beginning of colourise so no surprises // if different sets of lines lexed. visibleChars = 0; lastWordWasUUID = false; diff --git a/lexers/LexFortran.cxx b/lexers/LexFortran.cxx index 280250c29..5deaf1173 100644 --- a/lexers/LexFortran.cxx +++ b/lexers/LexFortran.cxx @@ -1,7 +1,7 @@ // Scintilla source code edit control /** @file LexFortran.cxx ** Lexer for Fortran. - ** Writen by Chuan-jian Shen, Last changed Sep. 2003 + ** Written by Chuan-jian Shen, Last changed Sep. 2003 **/ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. diff --git a/lexers/LexPerl.cxx b/lexers/LexPerl.cxx index 5a7447af3..8fa516b34 100644 --- a/lexers/LexPerl.cxx +++ b/lexers/LexPerl.cxx @@ -662,7 +662,7 @@ void SCI_METHOD LexerPerl::Lex(unsigned int startPos, int length, int initStyle, } else if (initStyle == SCE_PL_POD || initStyle == SCE_PL_POD_VERB ) { - // POD backtracking finds preceeding blank lines and goes back past them + // POD backtracking finds preceding blank lines and goes back past them int ln = styler.GetLine(startPos); if (ln > 0) { initStyle = styler.StyleAt(styler.LineStart(--ln)); @@ -1159,12 +1159,12 @@ void SCI_METHOD LexerPerl::Lex(unsigned int startPos, int length, int initStyle, sc.ForwardSetState(SCE_PL_DEFAULT); HereDoc.State = 3; } else { - // invalid indentifier; inexact fallback, but hey + // invalid identifier; inexact fallback, but hey sc.ChangeState(SCE_PL_IDENTIFIER); sc.SetState(SCE_PL_DEFAULT); } } else { - sc.ChangeState(SCE_PL_DEFAULT); // invalid indentifier + sc.ChangeState(SCE_PL_DEFAULT); // invalid identifier } backFlag = BACK_NONE; break; diff --git a/lexers/LexRuby.cxx b/lexers/LexRuby.cxx index 833ad5928..e19a5147e 100644 --- a/lexers/LexRuby.cxx +++ b/lexers/LexRuby.cxx @@ -731,7 +731,7 @@ static void ColouriseRbDoc(unsigned int startPos, int length, int initStyle, // If anyone runs into this problem, I recommend raising this // value slightly higher to replacing the fixed array with a linked - // list. Keep in mind this code will be called everytime the lexer + // list. Keep in mind this code will be called every time the lexer // is invoked. #define INNER_STRINGS_MAX_COUNT 5 |