- enhancement: Beautify display for spaces and linebreaks.
This commit is contained in:
parent
5eff32cee9
commit
0f654bdf75
1
NEWS.md
1
NEWS.md
|
@ -16,6 +16,7 @@ Red Panda C++ Version 2.27
|
|||
- enhancement: Migrate external calls from command string to argv array to improve safety and security.
|
||||
- enhancement: Support POSIX shell-like escaping in user inputs for compiler arguments.
|
||||
- fix: (Hopefully) properly escape filenames and arguments in makefile generation.
|
||||
- enhancement: Beautify display for spaces and linebreaks.
|
||||
|
||||
Red Panda C++ Version 2.26
|
||||
- enhancement: Code suggestion for embedded std::vectors.
|
||||
|
|
|
@ -1261,6 +1261,8 @@ void CppSyntaxer::procString()
|
|||
if (mLine[mRun]=='"') {
|
||||
mRun++;
|
||||
break;
|
||||
} else if (mLine[mRun]==' ' || mLine[mRun]=='\t') {
|
||||
return;
|
||||
} else if (mLine[mRun]=='\\') {
|
||||
if (mRun == mLineSize-1) {
|
||||
mRun++;
|
||||
|
@ -1306,12 +1308,13 @@ void CppSyntaxer::procString()
|
|||
void CppSyntaxer::procStringStart()
|
||||
{
|
||||
mTokenId = TokenId::String;
|
||||
mRange.state = RangeState::rsString;
|
||||
mRun += 1;
|
||||
if (mRun>=mLineSize) {
|
||||
mRange.state = RangeState::rsUnknown;
|
||||
return;
|
||||
}
|
||||
procString();
|
||||
//procString();
|
||||
}
|
||||
|
||||
void CppSyntaxer::procTilde()
|
||||
|
|
Loading…
Reference in New Issue