This project is read-only.
1
Vote

Editor incorrectly thinks user is changing text

description

You need to set _isUpdatingText = true in OnApplyTemplate before changing Editor.Text. Current code is:
if (SelectedItem != null)
{
    Editor.Text = BindingEvaluator.Evaluate(SelectedItem);
}
Should be:
if (SelectedItem != null)
{
    _isUpdatingText = true;
    Editor.Text = BindingEvaluator.Evaluate(SelectedItem);
    _isUpdatingText = false;
}

comments