mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-27 04:29:51 +01:00
unicode: Add new line breaking class from unicode 6.2
Regional Indicator (RI) is new in unicode 6.2.
This commit is contained in:
@@ -143,6 +143,7 @@ $FOLDING_MAPPING = 2;
|
|||||||
'PO' => "G_UNICODE_BREAK_POSTFIX",
|
'PO' => "G_UNICODE_BREAK_POSTFIX",
|
||||||
'PR' => "G_UNICODE_BREAK_PREFIX",
|
'PR' => "G_UNICODE_BREAK_PREFIX",
|
||||||
'QU' => "G_UNICODE_BREAK_QUOTATION",
|
'QU' => "G_UNICODE_BREAK_QUOTATION",
|
||||||
|
'RI' => "G_UNICODE_BREAK_REGIONAL_INDICATOR",
|
||||||
'SA' => "G_UNICODE_BREAK_COMPLEX_CONTEXT",
|
'SA' => "G_UNICODE_BREAK_COMPLEX_CONTEXT",
|
||||||
'SG' => "G_UNICODE_BREAK_SURROGATE",
|
'SG' => "G_UNICODE_BREAK_SURROGATE",
|
||||||
'SP' => "G_UNICODE_BREAK_SPACE",
|
'SP' => "G_UNICODE_BREAK_SPACE",
|
||||||
|
|||||||
@@ -201,13 +201,12 @@ typedef enum
|
|||||||
* @G_UNICODE_BREAK_CLOSE_PARANTHESIS: Closing Parenthesis (CP). Since 2.28
|
* @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_CONDITIONAL_JAPANESE_STARTER: Conditional Japanese Starter (CJ). Since: 2.32
|
||||||
* @G_UNICODE_BREAK_HEBREW_LETTER: Hebrew Letter (HL). Since: 2.32
|
* @G_UNICODE_BREAK_HEBREW_LETTER: Hebrew Letter (HL). Since: 2.32
|
||||||
|
* @G_UNICODE_BREAK_REGIONAL_INDICATOR: Regional Indicator (RI). Since: 2.34
|
||||||
*
|
*
|
||||||
* These are the possible line break classifications.
|
* These are the possible line break classifications.
|
||||||
*
|
*
|
||||||
* The five Hangul types were added in Unicode 4.1, so, has been
|
* Since new unicode versions may add new types here, applications should be ready
|
||||||
* introduced in GLib 2.10. Note that new types may be added in the future.
|
* to handle unknown values. They may be regarded as %G_UNICODE_BREAK_UNKNOWN.
|
||||||
* Applications should be ready to handle unknown values.
|
|
||||||
* They may be regarded as %G_UNICODE_BREAK_UNKNOWN.
|
|
||||||
*
|
*
|
||||||
* See <ulink url="http://www.unicode.org/unicode/reports/tr14/">http://www.unicode.org/unicode/reports/tr14/</ulink>.
|
* See <ulink url="http://www.unicode.org/unicode/reports/tr14/">http://www.unicode.org/unicode/reports/tr14/</ulink>.
|
||||||
*/
|
*/
|
||||||
@@ -251,7 +250,8 @@ typedef enum
|
|||||||
G_UNICODE_BREAK_HANGUL_LVT_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_CONDITIONAL_JAPANESE_STARTER,
|
||||||
G_UNICODE_BREAK_HEBREW_LETTER
|
G_UNICODE_BREAK_HEBREW_LETTER,
|
||||||
|
G_UNICODE_BREAK_REGIONAL_INDICATOR
|
||||||
} GUnicodeBreakType;
|
} GUnicodeBreakType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user