public override void SetText(CharacterIterator newText) { text = newText.GetTextAsString(); currentBoundaryIndex = 0; m_start = newText.BeginIndex; m_end = newText.EndIndex; LoadBoundaries(m_start, m_end); }
/// <summary> /// Set a new text string to be scanned. The current scan /// position is reset to First(). /// </summary> /// <param name="newText">new text to scan.</param> public abstract void SetText(CharacterIterator newText);