Browse Source

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

import/raw
brianlagunas_cp 16 years ago
parent
commit
37ae70fffe
  1. 6
      Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/RichTextBox/RichTextBox.cs

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

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

Loading…
Cancel
Save