unicode: Add new line break classes from Unicode 6.1.0

This commit is contained in:
Christian Persch 2012-02-10 18:20:26 +01:00 committed by Matthias Clasen
parent fb574834c1
commit 48e01af6f1
2 changed files with 7 additions and 1 deletions

View File

@ -118,6 +118,7 @@ $FOLDING_MAPPING = 2;
'BB' => "G_UNICODE_BREAK_BEFORE",
'BK' => "G_UNICODE_BREAK_MANDATORY",
'CB' => "G_UNICODE_BREAK_CONTINGENT",
'CJ' => "G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER",
'CL' => "G_UNICODE_BREAK_CLOSE_PUNCTUATION",
'CM' => "G_UNICODE_BREAK_COMBINING_MARK",
'CP' => "G_UNICODE_BREAK_CLOSE_PARANTHESIS",
@ -126,6 +127,7 @@ $FOLDING_MAPPING = 2;
'GL' => "G_UNICODE_BREAK_NON_BREAKING_GLUE",
'H2' => "G_UNICODE_BREAK_HANGUL_LV_SYLLABLE",
'H3' => "G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE",
'HL' => "G_UNICODE_BREAK_HEBREW_LETTER",
'HY' => "G_UNICODE_BREAK_HYPHEN",
'ID' => "G_UNICODE_BREAK_IDEOGRAPHIC",
'IN' => "G_UNICODE_BREAK_INSEPARABLE",

View File

@ -199,6 +199,8 @@ typedef enum
* @G_UNICODE_BREAK_HANGUL_LV_SYLLABLE: Hangul LV Syllable (H2)
* @G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE: Hangul LVT Syllable (H3)
* @G_UNICODE_BREAK_CLOSE_PARANTHESIS: Closing Parenthesis (CP). Since 2.28
* @G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER: Conditional Japanese Starter (CJ). Since: 2.32
* @G_UNICODE_BREAK_HEBREW_LETTER: Hebrew Letter (HL). Since: 2.32
*
* These are the possible line break classifications.
*
@ -247,7 +249,9 @@ typedef enum
G_UNICODE_BREAK_HANGUL_T_JAMO,
G_UNICODE_BREAK_HANGUL_LV_SYLLABLE,
G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE,
G_UNICODE_BREAK_CLOSE_PARANTHESIS
G_UNICODE_BREAK_CLOSE_PARANTHESIS,
G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER,
G_UNICODE_BREAK_HEBREW_LETTER
} GUnicodeBreakType;
/**