don't highlight '\' at line end as error
This commit is contained in:
parent
cd4bfdfa23
commit
2e66a3163c
|
@ -978,8 +978,12 @@ void SynEditCppHighlighter::slashProc()
|
||||||
|
|
||||||
void SynEditCppHighlighter::backSlashProc()
|
void SynEditCppHighlighter::backSlashProc()
|
||||||
{
|
{
|
||||||
mTokenId = TokenKind::Symbol;
|
if (mLine[mRun+1]==0) {
|
||||||
mExtTokenId = ExtTokenKind::BackSlash;
|
mTokenId = TokenKind::Symbol;
|
||||||
|
mExtTokenId = ExtTokenKind::BackSlash;
|
||||||
|
} else {
|
||||||
|
mTokenId = TokenKind::Unknown;
|
||||||
|
}
|
||||||
mRun+=1;
|
mRun+=1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue