コード例 #1
0
 public void RequestUpdate(TextAreaUpdate update)
 {
     if (this.updateQueue.Count == 1 && this.updateQueue[0].TextAreaUpdateType == TextAreaUpdateType.WholeTextArea)
     {
         return;
     }
     if (update.TextAreaUpdateType == TextAreaUpdateType.WholeTextArea)
     {
         this.updateQueue.Clear();
     }
     this.updateQueue.Add(update);
 }
コード例 #2
0
 public void RequestUpdate(TextAreaUpdate update)
 {
     if (updateQueue.Count == 1 && updateQueue[0].TextAreaUpdateType == TextAreaUpdateType.WholeTextArea)
     {
         // if we're going to update the whole text area, we don't need to store detail updates
         return;
     }
     if (update.TextAreaUpdateType == TextAreaUpdateType.WholeTextArea)
     {
         // if we're going to update the whole text area, we don't need to store detail updates
         updateQueue.Clear();
     }
     updateQueue.Add(update);
 }
コード例 #3
0
 public void RequestUpdate(TextAreaUpdate update)
 {
     updateQueue.Add(update);
 }
コード例 #4
0
		public void RequestUpdate(TextAreaUpdate update)
		{
			updateQueue.Add(update);
		}