void BuildUniversal_FinishWord(TextInLanguage.SyntaxLayout.Sentence sentence, ref string word, int startIndex, int endIndex) { if (word != string.Empty) { var props = new TextInLanguage.SyntaxLayout.Word.Properties(); sentence.AddWord(word, startIndex, endIndex, props); word = string.Empty; } }
void BuildUniversal_FinishWord(TextInLanguage.SyntaxLayout.Sentence sentence, ref string word, int startIndex, int endIndex) { if (word != string.Empty) { var props = new TextInLanguage.SyntaxLayout.Word.Properties(); sentence.AddWord(word, startIndex, endIndex, props); word = string.Empty; } }