Browse Source

RichTextBox: fixed bug that I re-introduced that deals with using custom ITextFormatters.

pull/1645/head
brianlagunas_cp 15 years ago
parent
commit
28afd0ab72
  1. 6
      ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/RichTextBox/RichTextBox.cs

6
ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/RichTextBox/RichTextBox.cs

@ -72,7 +72,11 @@ namespace Microsoft.Windows.Controls
}
set
{
_textFormatter = value;
if (_textFormatter != value)
{
_textFormatter = value;
_textFormatter.SetText(Document, Text);
}
}
}

Loading…
Cancel
Save