Segmenter.Base.Sequences.ComplexChain.Remove C# (CSharp) Method

Remove() public method

Cuts a range of words from position to position + len cursorPosition
public Remove ( int pos, int len ) : void
pos int start cursor position
len int count of words cut out
return void
        public void Remove(int pos, int len)
        {
            if ((pos + len) > GetLength())
            {
                return;
            }

            for (int index = pos; index < len + pos; index++)
            {
                DeleteAt(pos);
            }
        }