Esempio n. 1
0
 private void TextBox_OnTextCompositionChanged(TextBox sender, TextCompositionChangedEventArgs args)
 {
     Debug.WriteLine("x");
 }
Esempio n. 2
0
 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);
        }