Exemplo n.º 1
0
 public void UpdateRange(CodeRegion originalRegion, Words newWords)
 {
     RemoveRange(originalRegion.StartLineIndex + 1, (originalRegion.LineIndexCount - 2).LimitMin(1));
     InsertRange(originalRegion.StartLineIndex + 1, newWords);
 }
Exemplo n.º 2
0
        public static Words GetWords(String value, String delimiter, Int32 startIndex, Int32?count = null)
        {
            var words = new Words(value, delimiter);

            return(words.GetWords(startIndex, count));
        }
Exemplo n.º 3
0
 public Boolean Remove(Words words)
 {
     return(Remove(words._internalList.ToArray()));
 }
Exemplo n.º 4
0
 public void Add(Words otherWords)
 {
     _internalList.AddRange(otherWords);
 }