Skip to content

Commit

Permalink
Fix Inno Setup Script string highlighting broken.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Aug 23, 2023
1 parent ed62cb3 commit f10f6ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scintilla/lexers/LexBash.cxx
Expand Up @@ -67,7 +67,7 @@ enum class QuoteStyle {
String, // ""
LString, // $""
HereDoc, // here document
Backtick, // ``, $``
Backtick, // ``
Parameter, // ${}
Command, // $()
Arithmetic, // $(()), $[]
Expand Down
2 changes: 1 addition & 1 deletion scintilla/lexers/LexInno.cxx
Expand Up @@ -115,7 +115,7 @@ void ColouriseInnoDoc(Sci_PositionU startPos, Sci_Position lengthDoc, int initSt
sc.ForwardSetState(SCE_INNO_DEFAULT);
} else if (IsExpansionStartChar(sc.chNext)) {
++expansionLevel;
outerState = SCE_INNO_STRING_DQ;
outerState = sc.state;
sc.SetState(SCE_INNO_INLINE_EXPANSION);
}
} else if (sc.ch == '%' && sc.state == SCE_INNO_STRING_DQ) {
Expand Down

0 comments on commit f10f6ab

Please sign in to comment.