public void DeleteFromTextNextIndex() { SelectedTextInTextField = SelectedTextInTextField.Remove(selected.IndexOfText, selected.Text.Length); selected.IndexOfText = SelectedTextInTextField.IndexOf(selected.Text); CurrentIndex = selected.IndexOfText + _deleteLostLength + selected.Text.Length; _deleteLostLength += selected.Text.Length; }
public bool IsLastIndex() { return(SelectedTextInTextField.IndexOf(selected.Text) == -1 ? true : false); }