COMException 在 MS.Win32.UnsafeNativeMethods.ITextStoreACPSink.OnTextChange(OnTextChangeFlags flags, TS_TEXTCHANGE& change) 在 System.Windows.Documents.TextStore.OnTextContainerChange(Object sender, TextContainerChangeEventArgs args) 在 System.Windows.Documents.TextContainerChangeEventHandler.Invoke(Object sender, TextContainerChangeEventArgs e) 在 System.Windows.Documents.TextContainer.FireChangeEvent(TextPointer startPosition, TextPointer endPosition, Int32 symbolCount, Int32 leftEdgeCharCount, Int32 childCharCount, PrecursorTextChangeType precursorTextChange, DependencyProperty property, Boolean affectsRenderOnly) 在 System.Windows.Documents.TextContainer.AddChange(TextPointer startPosition, TextPointer endPosition, Int32 symbolCount, Int32 leftEdgeCharCount, Int32 childCharCount, PrecursorTextChangeType textChange, DependencyProperty property, Boolean affectsRenderOnly) 在 System.Windows.Documents.TextContainer.DeleteContentInternal(TextPointer startPosition, TextPointer endPosition) 在 System.Windows.Documents.TextTreeUndoUnit.Do() 在 MS.Internal.Documents.ParentUndoUnit.Do() 在 System.Windows.Documents.TextParentUndoUnit.Do() 在 MS.Internal.Documents.UndoManager.Close(IParentUndoUnit unit, UndoCloseAction closeAction) 在 System.Windows.Documents.TextEditorTyping.DoTextInput(TextEditor This, String textData, Boolean isInsertKeyToggled, Boolean acceptControlCharacters) 在 System.Windows.Documents.TextEditorTyping.OnTextInput(Object sender, TextCompositionEventArgs e) 在 System.Windows.Controls.Primitives.TextBoxBase.OnTextInput(TextCompositionEventArgs e) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e) 在 System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e) 在 System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 在 System.Windows.Interop.HwndKeyboardInputProvider.ProcessTextInputAction(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)