{\r
if (this.textStore.IsLocked())\r
return;\r
- TextStoreHelper.NotifyTextChanged(this.textStore, e.startIndex, e.removeLength, e.insertLength);\r
+ if (e.type == UpdateType.Replace)\r
+ TextStoreHelper.NotifyTextChanged(this.textStore, e.startIndex, e.removeLength, e.insertLength);\r
}\r
\r
void FooTextBox_Loaded(object sender, RoutedEventArgs e)\r
{\r
if (this.textStore.IsLocked())\r
return;\r
- TextStoreHelper.NotifyTextChanged(this.textStore, e.startIndex, e.removeLength, e.insertLength);\r
+ if(e.type == UpdateType.Replace)\r
+ TextStoreHelper.NotifyTextChanged(this.textStore, e.startIndex, e.removeLength, e.insertLength);\r
}\r
\r
void timer_Tick(object sender, EventArgs e)\r