Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/lexilla/lexers/LexBaan.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ static bool IsPreProcLine(Sci_Position line, LexAccessor &styler) {
if (ch == '#' && style == SCE_BAAN_PREPROCESSOR) {
if (styler.Match(i, "#elif") || styler.Match(i, "#else") || styler.Match(i, "#endif")
|| styler.Match(i, "#if") || styler.Match(i, "#ifdef") || styler.Match(i, "#ifndef"))
// Above PreProcessors has a seperate fold mechanism.
// Above PreProcessors has a separate fold mechanism.
return false;
else
return true;
Expand Down Expand Up @@ -716,7 +716,7 @@ void SCI_METHOD LexerBaan::Lex(Sci_PositionU startPos, Sci_Position length, int
}

if (sc.atLineEnd) {
// 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;
lineHasDomain = false;
Expand Down Expand Up @@ -909,7 +909,7 @@ void SCI_METHOD LexerBaan::Fold(Sci_PositionU startPos, Sci_Position length, int
// Section Foldings.
// One way of implementing Section Foldings, as there is no END markings of sections.
// first section ends on the previous line of next section.
// Re-written whole folding to accomodate this.
// Re-written whole folding to accommodate this.
if (options.baanFoldSections && atEOL) {
currLineStyle = mainOrSubSectionLine(lineCurrent, styler);
nextLineStyle = mainOrSubSectionLine(lineCurrent + 1, styler);
Expand Down
2 changes: 1 addition & 1 deletion src/lexilla/lexers/LexECL.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static void ColouriseEclDoc(Sci_PositionU startPos, Sci_Position length, int ini
// ends with a line continuation by locking in the state upto this position.
sc.SetState(SCE_ECL_STRING);
}
// 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;
Expand Down
2 changes: 1 addition & 1 deletion src/lexilla/lexers/LexLout.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ static void ColouriseLoutDoc(Sci_PositionU startPos, Sci_Position length, int in
}

if (sc.atLineEnd) {
// 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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/lexilla/lexers/LexSpecman.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ static void ColouriseSpecmanDoc(Sci_PositionU startPos, Sci_Position length, int
}

if (sc.atLineEnd) {
// 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;
}
Expand Down