Beispiel #1
0
 public override void AddLink(string s, string s2)
 {
     if (_bPendingApplyTabs)
     {
         ApplyTabs();
     }
     Flush();
     _rtb.InsertLink(s, s2);
 }
Beispiel #2
0
 public override void AddLink(string s, string s2)
 {
     if (!_bEmitLinks)
     {
         AddString(s);
     }
     else
     {
         if (_stopwatch.ElapsedMilliseconds > 10000)
         {
             _bEmitLinks = false;
         }
         if (_bPendingApplyTabs)
         {
             ApplyTabs();
         }
         Flush();
         _rtb.InsertLink(s, s2);
     }
 }