- 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: 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.
|
- enhancement: Support POSIX shell-like escaping in user inputs for compiler arguments.
|
||||||
- fix: (Hopefully) properly escape filenames and arguments in makefile generation.
|
- fix: (Hopefully) properly escape filenames and arguments in makefile generation.
|
||||||
|
- enhancement: Beautify display for spaces and linebreaks.
|
||||||
|
|
||||||
Red Panda C++ Version 2.26
|
Red Panda C++ Version 2.26
|
||||||
- enhancement: Code suggestion for embedded std::vectors.
|
- enhancement: Code suggestion for embedded std::vectors.
|
||||||
|
|
|
@ -1261,6 +1261,8 @@ void CppSyntaxer::procString()
|
||||||
if (mLine[mRun]=='"') {
|
if (mLine[mRun]=='"') {
|
||||||
mRun++;
|
mRun++;
|
||||||
break;
|
break;
|
||||||
|
} else if (mLine[mRun]==' ' || mLine[mRun]=='\t') {
|
||||||
|
return;
|
||||||
} else if (mLine[mRun]=='\\') {
|
} else if (mLine[mRun]=='\\') {
|
||||||
if (mRun == mLineSize-1) {
|
if (mRun == mLineSize-1) {
|
||||||
mRun++;
|
mRun++;
|
||||||
|
@ -1306,12 +1308,13 @@ void CppSyntaxer::procString()
|
||||||
void CppSyntaxer::procStringStart()
|
void CppSyntaxer::procStringStart()
|
||||||
{
|
{
|
||||||
mTokenId = TokenId::String;
|
mTokenId = TokenId::String;
|
||||||
|
mRange.state = RangeState::rsString;
|
||||||
mRun += 1;
|
mRun += 1;
|
||||||
if (mRun>=mLineSize) {
|
if (mRun>=mLineSize) {
|
||||||
mRange.state = RangeState::rsUnknown;
|
mRange.state = RangeState::rsUnknown;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
procString();
|
//procString();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CppSyntaxer::procTilde()
|
void CppSyntaxer::procTilde()
|
||||||
|
|
Loading…
Reference in New Issue