private void TextBox_OnTextCompositionChanged(TextBox sender, TextCompositionChangedEventArgs args) { Debug.WriteLine("x"); }
private void textEventsTB_TextCompositionChanged(TextBox sender, TextCompositionChangedEventArgs args) { AppendTextEventsLogging("CompositionChanged:" + textEventsTB.Text + "[" + args.StartIndex + "-" + args.Length + "]"); }
private async void RichEditBox_TextCompositionChanged(RichEditBox sender, TextCompositionChangedEventArgs args) { var range = TextDocument.GetRange(args.StartIndex == 0 ? 0 : args.StartIndex - 1, args.StartIndex + args.Length); await RequestSuggestionsAsync(range); }