jdk/src/windows/native/sun/windows/awt_InputTextInfor.cpp
changeset 21278 ef8a3a2a72f2
parent 5506 202f599c92aa
child 23010 6dadb192ad81
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   275        m_flags & GCS_COMPSTR and m_flags & GCS_RESULTSTR both yield to true, in this case
   275        m_flags & GCS_COMPSTR and m_flags & GCS_RESULTSTR both yield to true, in this case
   276        m_pResultTextInfor won't be NULL and if there is nothing to commit though, we don't
   276        m_pResultTextInfor won't be NULL and if there is nothing to commit though, we don't
   277        have to merge. Or if the current composing string size is 0, we don't have to merge either.
   277        have to merge. Or if the current composing string size is 0, we don't have to merge either.
   278 
   278 
   279        So in clusion, the three conditions not not merge are:
   279        So in clusion, the three conditions not not merge are:
   280        1. no commited string
   280        1. no committed string
   281        2. m_pResultTextInfor points to NULL
   281        2. m_pResultTextInfor points to NULL
   282        3. the current string size is 0;
   282        3. the current string size is 0;
   283 
   283 
   284        Same rule applies to merge the attribute information.
   284        Same rule applies to merge the attribute information.
   285     */
   285     */