浏览代码

Fix bug in findWords.

/main
Yuncong Zhang 5 年前
当前提交
4dc91c9e
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      Runtime/ui/txt/paragraph.cs

2
Runtime/ui/txt/paragraph.cs


inWord = true;
}
else if (inWord && isSpace) {
inWord = false;
wordCount++;
}
}

inWord = true;
}
else if (inWord && isSpace) {
inWord = false;
words[wordCount++] = new Range<int>(wordStart, i);
}
}

正在加载...
取消
保存