diff options
| -rw-r--r-- | doc/ScintillaHistory.html | 4 | ||||
| -rw-r--r-- | lexers/LexPowerShell.cxx | 2 | 
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index a6079cfeb..16cad92ee 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -553,6 +553,10 @@  	<a href="http://sourceforge.net/p/scintilla/feature-requests/1143/">Feature #1143.</a>  	</li>  	<li> +	The PowerShell lexer understands the grave accent escape character. +	<a href="http://sourceforge.net/p/scintilla/bugs/1868/">Bug #1868</a>. +	</li> +	<li>  	The YAML lexer recognizes inline comments.  	<a href="http://sourceforge.net/p/scintilla/bugs/1660/">Bug #1660</a>.  	</li> diff --git a/lexers/LexPowerShell.cxx b/lexers/LexPowerShell.cxx index 00d79db83..bf1ee29d1 100644 --- a/lexers/LexPowerShell.cxx +++ b/lexers/LexPowerShell.cxx @@ -149,6 +149,8 @@ static void ColourisePowerShellDoc(Sci_PositionU startPos, Sci_Position length,  				sc.SetState(SCE_POWERSHELL_OPERATOR);  			} else if (IsAWordChar(sc.ch)) {  				sc.SetState(SCE_POWERSHELL_IDENTIFIER); +			} else if (sc.ch == '`') { +				sc.Forward(); // skip next escaped character  			}  		}  	}  | 
