GUnicodeBreakType

These are the possible line break classifications.

Since new unicode versions may add new types here, applications should be ready to handle unknown values. They may be regarded as %G_UNICODE_BREAK_UNKNOWN.

See Unicode Line Breaking Algorithm.

Values

ValueMeaning
MANDATORY0

Mandatory Break (BK)

CARRIAGE_RETURN1

Carriage Return (CR)

LINE_FEED2

Line Feed (LF)

COMBINING_MARK3

Attached Characters and Combining Marks (CM)

SURROGATE4

Surrogates (SG)

ZERO_WIDTH_SPACE5

Zero Width Space (ZW)

INSEPARABLE6

Inseparable (IN)

NON_BREAKING_GLUE7

Non-breaking ("Glue") (GL)

CONTINGENT8

Contingent Break Opportunity (CB)

SPACE9

Space (SP)

AFTER10

Break Opportunity After (BA)

BEFORE11

Break Opportunity Before (BB)

BEFORE_AND_AFTER12

Break Opportunity Before and After (B2)

HYPHEN13

Hyphen (HY)

NON_STARTER14

Nonstarter (NS)

OPEN_PUNCTUATION15

Opening Punctuation (OP)

CLOSE_PUNCTUATION16

Closing Punctuation (CL)

QUOTATION17

Ambiguous Quotation (QU)

EXCLAMATION18

Exclamation/Interrogation (EX)

IDEOGRAPHIC19

Ideographic (ID)

NUMERIC20

Numeric (NU)

INFIX_SEPARATOR21

Infix Separator (Numeric) (IS)

SYMBOL22

Symbols Allowing Break After (SY)

ALPHABETIC23

Ordinary Alphabetic and Symbol Characters (AL)

PREFIX24

Prefix (Numeric) (PR)

POSTFIX25

Postfix (Numeric) (PO)

COMPLEX_CONTEXT26

Complex Content Dependent (South East Asian) (SA)

AMBIGUOUS27

Ambiguous (Alphabetic or Ideographic) (AI)

UNKNOWN28

Unknown (XX)

NEXT_LINE29

Next Line (NL)

WORD_JOINER30

Word Joiner (WJ)

HANGUL_L_JAMO31

Hangul L Jamo (JL)

HANGUL_V_JAMO32

Hangul V Jamo (JV)

HANGUL_T_JAMO33

Hangul T Jamo (JT)

HANGUL_LV_SYLLABLE34

Hangul LV Syllable (H2)

HANGUL_LVT_SYLLABLE35

Hangul LVT Syllable (H3)

CLOSE_PARANTHESIS36

Closing Parenthesis (CP). Since 2.28

CONDITIONAL_JAPANESE_STARTER37

Conditional Japanese Starter (CJ). Since: 2.32

HEBREW_LETTER38

Hebrew Letter (HL). Since: 2.32

REGIONAL_INDICATOR39

Regional Indicator (RI). Since: 2.36

EMOJI_BASE40

Emoji Base (EB). Since: 2.50

EMOJI_MODIFIER41

Emoji Modifier (EM). Since: 2.50

ZERO_WIDTH_JOINER42

Zero Width Joiner (ZWJ). Since: 2.50

Meta