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
commit9bb337e9232502a979a64f3c78aee82b8c5e8375 (patch)
tree712f9eae459b1b25a188a119b4b75800933b1b01 /lexers/LexCPP.cxx
parent82c802cc4db4d783f7255cc7f8489a7e03a65687 (diff)
downloadscintilla-mirror-9bb337e9232502a979a64f3c78aee82b8c5e8375.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;