コード例 #1
0
        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;
        }
コード例 #2
0
 public BadSpellingMatcher(int ws, Enchant.Dictionary dict)
 {
     m_ws   = ws;
     m_dict = dict;
 }
コード例 #3
0
		public BadSpellingMatcher(int ws, Enchant.Dictionary dict)
		{
			m_ws = ws;
			m_dict = dict;
		}
コード例 #4
0
		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;
		}