private void onTagDeleted(object sender, TagDeletedEventArgs e) { onTextFieldInfoChanged( TextFieldInfo .RemoveTag(TextFieldInfo.Tags[e.TagIndex]) .WithTextAndCursor(TextFieldInfo.Text, e.CursorPosition)); }