aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexCPP.cxx
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2014-01-20 07:46:22 +0100
committerStefan Weil <sw@weilnetz.de>2014-01-20 07:46:22 +0100
commit9a9886b0346e124dac362602d9d90a538bf0288c (patch)
treebf6492f6d239dbaa8dc35a2d27b67536b4ef8122 /lexers/LexCPP.cxx
parentd77efc572d9ec0493ac7e4553249cd9da1482f82 (diff)
downloadscintilla-mirror-9a9886b0346e124dac362602d9d90a538bf0288c.tar.gz
Fix typos in comments (lexers)
Diffstat (limited to 'lexers/LexCPP.cxx')
-rw-r--r--lexers/LexCPP.cxx4
1 files changed, 2 insertions, 2 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;