示例#1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Allow certain style names to be given special sematic meaning so they will be
 /// skipped over when removing character styles.
 /// </summary>
 /// <param name="name">style name to check</param>
 /// <returns>
 /// true to apply meaning to the style and skip it.
 /// </returns>
 /// ------------------------------------------------------------------------------------
 public override bool SpecialSemanticsCharacterStyle(string name)
 {
     if (m_decoratedEditingHelper != null)
     {
         return(m_decoratedEditingHelper.SpecialSemanticsCharacterStyle(name));
     }
     return(base.SpecialSemanticsCharacterStyle(name));
 }