Skip to content

Commit

Permalink
Fix PowerShell string highlighting broken.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Aug 13, 2023
1 parent 483dedd commit 5f77ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scintilla/lexers/LexPowerShell.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void ColourisePowerShellDoc(Sci_PositionU startPos, Sci_Position lengthDoc, int
case SCE_POWERSHELL_STRING_DQ:
case SCE_POWERSHELL_HERE_STRING_DQ:
if (sc.ch == '`' || (sc.state == SCE_POWERSHELL_STRING_DQ && sc.Match('\"', '\"'))) {
outerStyle = SCE_POWERSHELL_STRING_DQ;
outerStyle = sc.state;
sc.SetState(SCE_POWERSHELL_ESCAPECHAR);
sc.Forward();
} else if (sc.ch == '$') {
Expand Down

0 comments on commit 5f77ccd

Please sign in to comment.