Пример #1
0
 /// <summary>
 /// Event handler that handles text changed event.  This handler
 /// is called whenver there are editing changes in the target
 /// text control or if the cursor moves in the target text window.
 /// </summary>
 /// <param name="sender">event sender</param>
 /// <param name="e">event arg</param>
 private void _textInterface_EvtTextChanged(object sender, TextChangedEventArgs e)
 {
     Log.Debug();
     if (e.TextInterface != null)
     {
         Log.Debug("Calling triggertextchanged");
         triggerTextChanged(e.TextInterface);
     }
 }
Пример #2
0
 /// <summary>
 /// Event handler for when text or caret position in
 /// the MS Word window has changed
 /// </summary>
 /// <param name="sender">event sender</param>
 /// <param name="e">event args</param>
 private void _textInterface_EvtTextChanged(object sender, TextChangedEventArgs e)
 {
     triggerTextChanged(e.TextInterface);
 }
Пример #3
0
 /// <summary>
 /// Event handler for when text or caret position changed
 /// in the text window.  Notify subscribers.
 /// </summary>
 /// <param name="sender">event sender</param>
 /// <param name="e">event args</param>
 private void ApplicationAgent_EvtTextChanged(object sender, TextChangedEventArgs e)
 {
     notifyTextChanged(e.TextInterface);
 }