INNER CODE UNIT · C#
ignore
ArcadeMakerSources/ArcadeMaker · src/ArcadeMaker.IDE/CodeChecker.cs:21
int ignore = 0; // 0: do not ignore, 1: ignore next, 2: ignore this
// run over each char in the text
int insideFormattedStringLength = 0;
for (int i = 0; i < code.Length; i++)
{
char c = code[i];
bool nextSpan = false;
bool nextSpanInsideFormattedString = span.insideFormattedString;
if (span.insideFormattedString)
insideFormattedStringLength++;
if (ignore < 2 && spanText.Length == 0)
{
first = true;
if (span.type != SpanType.FormattedString)
{