internal void EndIMEComposition()
        {
            CachedTextInfo cachedTextInfo = m_imePreCompositionCachedTextInfo.Clone() as CachedTextInfo;

            m_imePreCompositionCachedTextInfo = null;

            this.OnIMECompositionEnded(cachedTextInfo);
        }
 internal virtual void OnIMECompositionEnded(CachedTextInfo cachedTextInfo)
 {
 }
        internal void StartIMEComposition()
        {
            Debug.Assert(m_imePreCompositionCachedTextInfo == null, "EndIMEComposition should have been called before another IME Composition starts.");

            m_imePreCompositionCachedTextInfo = new CachedTextInfo(this);
        }
示例#4
0
 internal virtual void OnIMECompositionEnded( CachedTextInfo cachedTextInfo )
 {
 }
示例#5
0
    internal void StartIMEComposition()
    {
      Debug.Assert( m_imePreCompositionCachedTextInfo == null, "EndIMEComposition should have been called before another IME Composition starts." );

      m_imePreCompositionCachedTextInfo = new CachedTextInfo( this );
    }
示例#6
0
 internal override void OnIMECompositionEnded( CachedTextInfo cachedTextInfo )
 {
   // End of IME Composition.  Restore the critical infos.
   this.ForceText( cachedTextInfo.Text, false );
   this.CaretIndex = cachedTextInfo.CaretIndex;
   this.SelectionStart = cachedTextInfo.SelectionStart;
   this.SelectionLength = cachedTextInfo.SelectionLength;
 }