int m_ws; // only text in this language is checked. /// <summary> /// Make one /// </summary> /// <param name="tss"></param> /// <param name="dict"></param> /// <param name="ws"></param> public SpellCheckMethod(ITsString tss, Enchant.Dictionary dict, int ws, ILgCharacterPropertyEngine cpe) { m_tss = tss; m_text = tss.Text; if (m_text == null) { m_text = ""; } m_cch = m_text.Length; m_cpe = cpe; m_dict = dict; m_ws = ws; }
public BadSpellingMatcher(int ws, Enchant.Dictionary dict) { m_ws = ws; m_dict = dict; }
int m_ws; // only text in this language is checked. /// <summary> /// Make one /// </summary> /// <param name="tss"></param> /// <param name="dict"></param> /// <param name="ws"></param> public SpellCheckMethod(ITsString tss, Enchant.Dictionary dict, int ws, ILgCharacterPropertyEngine cpe) { m_tss = tss; m_text = tss.Text; if (m_text == null) m_text = ""; m_cch = m_text.Length; m_cpe = cpe; m_dict = dict; m_ws = ws; }