- enhancement: correctly highlight multiline string literals that has empty lines.
This commit is contained in:
parent
7ad6a64150
commit
45c191bae4
1
NEWS.md
1
NEWS.md
|
@ -17,6 +17,7 @@ Red Panda C++ Version 2.23
|
|||
- fix: GNU assembly files (.s) are not shown in the files view.
|
||||
- fix: "typedef struct" that don't have definition of the struct is not correctly parsed.
|
||||
- enhancement: correctly highlight multiline raw string literals.
|
||||
- enhancement: correctly highlight multiline string literals.
|
||||
- change: remove "Assembly" color scheme item (it's not used anymore).
|
||||
- fix: crash when parsing files containing inline assembly code.
|
||||
- fix: crash when source files contains macro definitions like "#define cfun (cfun + 0)"
|
||||
|
|
|
@ -1530,6 +1530,8 @@ int CppSyntaxer::getTokenPos()
|
|||
void CppSyntaxer::next()
|
||||
{
|
||||
mTokenPos = mRun;
|
||||
if (mLineSize == 0 && mRange.state == RangeState::rsString)
|
||||
mRange.state=RangeState::rsUnknown;
|
||||
do {
|
||||
if (mRun>=mLineSize) {
|
||||
procNull();
|
||||
|
|
Loading…
Reference in New Issue