Exemple #1
0
 // We don't get a TexView until they call OnRequestChanges on a child.
 // However, once they've called it once, it's always the same TextView.
 public void SetTextView(object textView)
 {
     if (_updater == null)
     {
         _updater = new PreviewUpdater(ThreadingContext, EnsureTextViewIsInitialized(textView));
     }
 }
Exemple #2
0
 // We don't get a TexView until they call OnRequestChanges on a child.
 // However, once they've called it once, it's always the same TextView.
 public void SetTextView(object textView)
 {
     if (_updater == null)
     {
         _updater = new PreviewUpdater(EnsureTextViewIsInitialized(textView));
     }
 }