Skip to content

Commit 24068ee

Browse files
committed
fix counting of columns
1 parent 74e7190 commit 24068ee

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

resizer/plugin.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "Resizer",
44
"description": "General-purpose resizer widget for TiddlyWiki5",
55
"author": "Simon Huber",
6-
"version": "0.4.12",
6+
"version": "0.4.13",
77
"core-version": ">=5.3.0",
88
"source": "https://github.com/BurningTreeC/resizer",
99
"plugin-type": "plugin",

resizer/ui/panels/panels.tid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,8 @@ code-body: yes
661661
\function tf.current.tiddler.to.charcode() [<currentTiddler>tocharcode[]]
662662

663663
\function tf.data.tiddler.count.columns()
664-
[<dataTiddler>indexes[]split[ ]!match[head]!match[foot]!match[caption]!match[classes]regexp<upperCaseLettersRegexp>sort[]sortsub:number<compareByLength>last[]split[]]
664+
[<dataTiddler>indexes[]split[ ]!match[head]!match[foot]!match[caption]!match[classes]regexp<upperCaseLettersRegexp>sort[]sortsub:number<compareByLength>last[]]
665+
:map:flat[split[]]
665666
:reduce[<accumulator>multiply[26]add<tf.current.tiddler.to.charcode>subtract[64]]
666667
:else[[0]]
667668
\end

0 commit comments

Comments
 (0)