private InputEditSnapshot GetPrevIfTypeEquals(InputEditType type, int cursor)
        {
            if (cursor > -1)
            {
                var cursored = this.Feach(cursor);

                if (cursored.Type == type)
                {
                    return(cursored);
                }
            }

            return(null);
        }
 public InputEditSnapshot(InputEditType type, string text, int cursorLeft)
 {
     this.Type       = type;
     this.Text       = text;
     this.CursorLeft = cursorLeft;
 }