Partager via


SCRIPT_LOGATTR (Windows Embedded CE 6.0)

1/6/2010

This structure describes attributes of logical characters that are useful when editing and formatting text.

Syntax

typedef struct tag_SCRIPT_LOGATTR { 
  BYTE fSoftBreak; 
  BYTE fWhiteSpace; 
  BYTE fCharStop; 
  BYTE fWordStop; 
  BYTE fInvalid; 
  BYTE fReserved; 
} SCRIPT_LOGATTR;

Members

  • fSoftBreak
    It is valid to break the line in front of this character. This member is set on the first character of Southeast Asian words.
  • fWhiteSpace
    This character is one of the many Unicode characters that are classified as breakable white space. Breakable white space can break words, that is, it is all white space except NBSP (nonbreaking space) and ZWNBSP (zero-width nonbreaking space).
  • fCharStop
    Valid caret position. Set on most characters, but not on code points inside Indian and Southeast Asian character clusters. May be used to implement LEFT ARROW and RIGHT ARROW operations in editors.
  • fWordStop
    Valid caret position. It is the correct place to show the caret when you use a word movement keyboard action such as CTRL+LEFT ARROW and CTRL+RIGHT ARROW. May be used to implement the CTRL+LEFT ARROW and CTRL+RIGHT ARROW operations in editors.
  • fInvalid
    Marks characters that form an invalid combination, or a combination that cannot be displayed. Scripts that can set this flag have the flag fInvalidLogAttr set in their SCRIPT_PROPERTIES structure.
  • fReserved
    Reserved.

Requirements

Header usp10.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

SCRIPT_PROPERTIES

Other Resources

Uniscribe Structures