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 c89c92452f1e5ba7d73758a42914d352957e3d0c..5955c390a6da4327d490972a7bc3ea585659c873 100644
(file)
--- a/
charset.plp
+++ b/
charset.plp
@@
-346,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';