If the margins of one side are equal to the default value, it will become 0 after import
NullReferenceException when changing themes, the RichTextBox has TrackChanges enabled, and the current user is set.
Workaround: set empty user like this:
private void RadRichTextBox_ProtectionStateChanged(object sender, EventArgs e)
{
if (this.radRichTextBox.CurrentUser == null)
{
this.radRichTextBox.CurrentUser = new Telerik.Windows.Documents.Model.UserInfo(string.Empty, string.Empty, string.Empty, string.Empty);
}
}
Spell check does not refresh correctly when there are annotation markers around the current word.