git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
charset: indicate continued columns without overlap
[sheet.git]
/
charset.plp
diff --git
a/charset.plp
b/charset.plp
index 3be6a96cac927faefd0284abce90661fd092ac07..5955c390a6da4327d490972a7bc3ea585659c873 100644
(file)
--- a/
charset.plp
+++ b/
charset.plp
@@
-48,6
+48,7
@@
print join " •\n", (
}
[
iso => 'ISO',
}
[
iso => 'ISO',
+ win => 'Windows',
dos => 'DOS',
mac => 'Apple',
ebcdic => 'EBCDIC',
dos => 'DOS',
mac => 'Apple',
ebcdic => 'EBCDIC',
@@
-345,15
+346,16
@@
sub range_cell {
if ($len -= $rest) {
# continued on new row
my @next = ($len * $colsize, "$class joinu");
if ($len -= $rest) {
# continued on new row
my @next = ($len * $colsize, "$class joinu");
+ my $separate = $cols - $len > $rest; # columns not on next row
if ($len > $rest) {
# minority remains
push @next, $name, $title;
$title ||= $name;
if ($len > $rest) {
# minority remains
push @next, $name, $title;
$title ||= $name;
- $name =
'
';
+ $name =
$separate && '…
';
}
else {
# minority on next row
}
else {
# minority on next row
- push @next, '"', $title || $name;
+ push @next,
$separate &&
'"', $title || $name;
}
$table->{$offset + $colsize*$rest} //= \@next;
$class .= ' joind';
}
$table->{$offset + $colsize*$rest} //= \@next;
$class .= ' joind';