Skip to content

Commit

Permalink
refactor(tabulate): split up long wideChars str
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed May 9, 2024
1 parent 447e8c6 commit 0ac7eda
Showing 1 changed file with 151 additions and 1 deletion.
152 changes: 151 additions & 1 deletion lib/tabulate.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,157 @@
# License: MIT
namespace eval ::tabulate {
variable version 0.12.0
variable wideChars {[\u1100-\u115F\u2329\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u3003\u3004\u3005\u3006\u3007\u3008\u3009\u300A\u300B\u300C\u300D\u300E\u300F\u3010\u3011\u3012-\u3013\u3014\u3015\u3016\u3017\u3018\u3019\u301A\u301B\u301C\u301D\u301E-\u301F\u3020\u3021-\u3029\u302A-\u302D\u302E-\u302F\u3030\u3031-\u3035\u3036-\u3037\u3038-\u303A\u303B\u303C\u303D\u303E\u3041-\u3096\u3099-\u309A\u309B-\u309C\u309D-\u309E\u309F\u30A0\u30A1-\u30FA\u30FB\u30FC-\u30FE\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u3191\u3192-\u3195\u3196-\u319F\u31A0-\u31BA\u31C0-\u31E3\u31F0-\u31FF\u3200-\u321E\u3220-\u3229\u322A-\u3247\u3250\u3251-\u325F\u3260-\u327F\u3280-\u3289\u328A-\u32B0\u32B1-\u32BF\u32C0-\u32FE\u3300-\u33FF\u3400-\u4DB5\u4DB6-\u4DBF\u4E00-\u9FD5\u9FD6-\u9FFF\uA000-\uA014\uA015\uA016-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uF900-\uFA6D\uFA6E-\uFA6F\uFA70-\uFAD9\uFADA-\uFAFF\uFE10-\uFE16\uFE17\uFE18\uFE19\uFE30\uFE31-\uFE32\uFE33-\uFE34\uFE35\uFE36\uFE37\uFE38\uFE39\uFE3A\uFE3B\uFE3C\uFE3D\uFE3E\uFE3F\uFE40\uFE41\uFE42\uFE43\uFE44\uFE45-\uFE46\uFE47\uFE48\uFE49-\uFE4C\uFE4D-\uFE4F\uFE50-\uFE52\uFE54-\uFE57\uFE58\uFE59\uFE5A\uFE5B\uFE5C\uFE5D\uFE5E\uFE5F-\uFE61\uFE62\uFE63\uFE64-\uFE66\uFE68\uFE69\uFE6A-\uFE6B\U0001B000-\U0001B001\U0001F200-\U0001F202\U0001F210-\U0001F23A\U0001F240-\U0001F248\U0001F250-\U0001F251\U00020000-\U0002A6D6\U0002A6D7-\U0002A6FF\U0002A700-\U0002B734\U0002B735-\U0002B73F\U0002B740-\U0002B81D\U0002B81E-\U0002B81F\U0002B820-\U0002CEA1\U0002CEA2-\U0002F7FF\U0002F800-\U0002FA1D\U0002FA1E-\U0002FFFD\U00030000-\U0003FFFD]}
variable wideChars \[[join {
\u1100-\u115F
\u2329
\u232A
\u2E80-\u2E99
\u2E9B-\u2EF3
\u2F00-\u2FD5
\u2FF0-\u2FFB
\u3001-\u3003
\u3004
\u3005
\u3006
\u3007
\u3008
\u3009
\u300A
\u300B
\u300C
\u300D
\u300E
\u300F
\u3010
\u3011
\u3012-\u3013
\u3014
\u3015
\u3016
\u3017
\u3018
\u3019
\u301A
\u301B
\u301C
\u301D
\u301E-\u301F
\u3020
\u3021-\u3029
\u302A-\u302D
\u302E-\u302F
\u3030
\u3031-\u3035
\u3036-\u3037
\u3038-\u303A
\u303B
\u303C
\u303D
\u303E
\u3041-\u3096
\u3099-\u309A
\u309B-\u309C
\u309D-\u309E
\u309F
\u30A0
\u30A1-\u30FA
\u30FB
\u30FC-\u30FE
\u30FF
\u3105-\u312D
\u3131-\u318E
\u3190-\u3191
\u3192-\u3195
\u3196-\u319F
\u31A0-\u31BA
\u31C0-\u31E3
\u31F0-\u31FF
\u3200-\u321E
\u3220-\u3229
\u322A-\u3247
\u3250
\u3251-\u325F
\u3260-\u327F
\u3280-\u3289
\u328A-\u32B0
\u32B1-\u32BF
\u32C0-\u32FE
\u3300-\u33FF
\u3400-\u4DB5
\u4DB6-\u4DBF
\u4E00-\u9FD5
\u9FD6-\u9FFF
\uA000-\uA014
\uA015
\uA016-\uA48C
\uA490-\uA4C6
\uA960-\uA97C
\uAC00-\uD7A3
\uF900-\uFA6D
\uFA6E-\uFA6F
\uFA70-\uFAD9
\uFADA-\uFAFF
\uFE10-\uFE16
\uFE17
\uFE18
\uFE19
\uFE30
\uFE31-\uFE32
\uFE33-\uFE34
\uFE35
\uFE36
\uFE37
\uFE38
\uFE39
\uFE3A
\uFE3B
\uFE3C
\uFE3D
\uFE3E
\uFE3F
\uFE40
\uFE41
\uFE42
\uFE43
\uFE44
\uFE45-\uFE46
\uFE47
\uFE48
\uFE49-\uFE4C
\uFE4D-\uFE4F
\uFE50-\uFE52
\uFE54-\uFE57
\uFE58
\uFE59
\uFE5A
\uFE5B
\uFE5C
\uFE5D
\uFE5E
\uFE5F-\uFE61
\uFE62
\uFE63
\uFE64-\uFE66
\uFE68
\uFE69
\uFE6A-\uFE6B
\U0001B000-\U0001B001
\U0001F200-\U0001F202
\U0001F210-\U0001F23A
\U0001F240-\U0001F248
\U0001F250-\U0001F251
\U00020000-\U0002A6D6
\U0002A6D7-\U0002A6FF
\U0002A700-\U0002B734
\U0002B735-\U0002B73F
\U0002B740-\U0002B81D
\U0002B81E-\U0002B81F
\U0002B820-\U0002CEA1
\U0002CEA2-\U0002F7FF
\U0002F800-\U0002FA1D
\U0002FA1E-\U0002FFFD
\U00030000-\U0003FFFD
} {}]\]
}
namespace eval ::tabulate::style {
variable default {
Expand Down

0 comments on commit 0ac7eda

Please sign in to comment.