git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
style: renumber l? classes
[sheet.git]
/
Shiar_Sheet
/
FormatChar.pm
diff --git
a/Shiar_Sheet/FormatChar.pm
b/Shiar_Sheet/FormatChar.pm
index c1235065f586929e72803c81948c0fab549ee671..185e0af713889ae2984b3cd531825422a4b37f9a 100644
(file)
--- a/
Shiar_Sheet/FormatChar.pm
+++ b/
Shiar_Sheet/FormatChar.pm
@@
-86,13
+86,13
@@
sub cell {
if ($self->{digraph}) {
if (defined $mnem) {
push @class, $class =~ /\bXz\b/ ? ('l2', 'u-prop') # unofficial
if ($self->{digraph}) {
if (defined $mnem) {
push @class, $class =~ /\bXz\b/ ? ('l2', 'u-prop') # unofficial
- : ('l
4
', 'u-di'); # standard digraph
+ : ('l
3
', 'u-di'); # standard digraph
}
}
else {
my $codepoint = ord(substr $input, 0, 1);
if ($codepoint <= 0xFF) {
}
}
else {
my $codepoint = ord(substr $input, 0, 1);
if ($codepoint <= 0xFF) {
- push @class, 'l
4
', 'u-lat1'; # latin1
+ push @class, 'l
3
', 'u-lat1'; # latin1
}
elsif ($codepoint <= 0xD7FF) {
push @class, 'l2', 'u-bmp'; # bmp
}
elsif ($codepoint <= 0xD7FF) {
push @class, 'l2', 'u-bmp'; # bmp
@@
-100,10
+100,10
@@
sub cell {
}
if ($input =~ /[ -~]/) {
}
if ($input =~ /[ -~]/) {
- push @class, 'l
5
', 'u-ascii'; # ascii
+ push @class, 'l
4
', 'u-ascii'; # ascii
}
else {
}
else {
- push @class, 'l
0
'; # basic unicode
+ push @class, 'l
1
'; # basic unicode
}
}
}
}