Exemplo n.º 1
0
        public override void SetText(CharacterIterator newText)
        {
            text = newText.GetTextAsString();
            currentBoundaryIndex = 0;
            m_start = newText.BeginIndex;
            m_end   = newText.EndIndex;

            LoadBoundaries(m_start, m_end);
        }
Exemplo n.º 2
0
 /// <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);