Esempio n. 1
0
 public void SetSpellingOptions(string dllName, ushort lcid, string[] mainLexFiles, string userLexFile, uint sobitOptions, bool useAutoCorrect)
 {
     _spellingState = new SpellingOptionState(
         dllName, lcid, mainLexFiles, userLexFile, sobitOptions, useAutoCorrect);
     _spellingState.Apply(contentEditor, factory.GlobalSpellingOptions);
     if (CultureHelper.IsRtlLcid(lcid))
     {
         EmailContentTarget target =
             GlobalEditorOptions.ContentTarget as EmailContentTarget;
         if (target != null)
         {
             target.EnableRtlMode();
         }
     }
 }
 public void DisableSpelling()
 {
     _spellingState = null;
     contentEditor.DisableSpelling();
 }
 public void SetSpellingOptions(string dllName, ushort lcid, string[] mainLexFiles, string userLexFile, uint sobitOptions, bool useAutoCorrect)
 {
     _spellingState = new SpellingOptionState(
         dllName, lcid, mainLexFiles, userLexFile, sobitOptions, useAutoCorrect);
     _spellingState.Apply(contentEditor, factory.GlobalSpellingOptions);
     if (CultureHelper.IsRtlLcid(lcid))
     {
         EmailContentTarget target =
             GlobalEditorOptions.ContentTarget as EmailContentTarget;
         if (target != null)
         {
             target.EnableRtlMode();
         }
     }
 }
Esempio n. 4
0
 public void DisableSpelling()
 {
     _spellingState = null;
     contentEditor.DisableSpelling();
 }