修复EOF飘逸(去除末尾\n)以及其他修复...
This commit is contained in:
@@ -60,6 +60,9 @@ namespace Fig
|
||||
source += line + '\n';
|
||||
lines.push_back(String(line));
|
||||
}
|
||||
if (!source.empty() && source.back() == U'\n')
|
||||
source.pop_back();
|
||||
|
||||
if (lines.empty())
|
||||
{
|
||||
lines.push_back(String()); // 填充一个空的
|
||||
|
||||
Reference in New Issue
Block a user