Run gofmt on grapheme-segmentation-data

This commit is contained in:
Kovid Goyal
2025-03-13 07:11:21 +05:30
parent 824acf2282
commit 9cb56c2775
2 changed files with 41 additions and 41 deletions

View File

@@ -1,65 +1,64 @@
package wcswidth
type GraphemeBreakProperty uint8
const (
None = iota
Prepend
CR
LF
Control
Extend
Regional_Indicator
SpacingMark
L
V
T
LV
LVT
ZWJ
None = iota
Prepend
CR
LF
Control
Extend
Regional_Indicator
SpacingMark
L
V
T
LV
LVT
ZWJ
)
func GraphemeBreakPropertyFor(code rune) GraphemeBreakProperty {
switch code {
// Prepend (28 codepoints {{{
// }}}
// Prepend (28 codepoints {{{
// }}}
// CR (1 codepoints {{{
// }}}
// CR (1 codepoints {{{
// }}}
// LF (1 codepoints {{{
// }}}
// LF (1 codepoints {{{
// }}}
// Control (3893 codepoints {{{
// }}}
// Control (3893 codepoints {{{
// }}}
// Extend (2198 codepoints {{{
// }}}
// Extend (2198 codepoints {{{
// }}}
// Regional_Indicator (26 codepoints {{{
// }}}
// Regional_Indicator (26 codepoints {{{
// }}}
// SpacingMark (378 codepoints {{{
// }}}
// SpacingMark (378 codepoints {{{
// }}}
// L (125 codepoints {{{
// }}}
// L (125 codepoints {{{
// }}}
// V (100 codepoints {{{
// }}}
// V (100 codepoints {{{
// }}}
// T (137 codepoints {{{
// }}}
// T (137 codepoints {{{
// }}}
// LV (399 codepoints {{{
// }}}
// LV (399 codepoints {{{
// }}}
// LVT (10773 codepoints {{{
// }}}
// LVT (10773 codepoints {{{
// }}}
// ZWJ (1 codepoints {{{
// }}}
// ZWJ (1 codepoints {{{
// }}}
}
return None