summaryrefslogtreecommitdiff
path: root/tex/context/base/node-aux.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-02-20 20:34:00 +0100
committerHans Hagen <pragma@wxs.nl>2011-02-20 20:34:00 +0100
commit15ee46403d36de6f29b4e45171e061708ec69193 (patch)
treed067341bae6f8f10633bc71c1f91a85ea94ca33c /tex/context/base/node-aux.lua
parent18e7114e3c95f724407c6698181e6f1002ad589b (diff)
downloadcontext-15ee46403d36de6f29b4e45171e061708ec69193.tar.gz
beta 2011.02.20 20:34
Diffstat (limited to 'tex/context/base/node-aux.lua')
-rw-r--r--tex/context/base/node-aux.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/tex/context/base/node-aux.lua b/tex/context/base/node-aux.lua
index a916e9ed1..37671687b 100644
--- a/tex/context/base/node-aux.lua
+++ b/tex/context/base/node-aux.lua
@@ -187,3 +187,21 @@ function nodes.firstcharinbox(n)
end
return 0
end
+
+--~ local function firstline(n)
+--~ while n do
+--~ local id = n.id
+--~ if id == hlist_code then
+--~ if n.subtype == line_code then
+--~ return n
+--~ else
+--~ return firstline(n.list)
+--~ end
+--~ elseif id == vlist_code then
+--~ return firstline(n.list)
+--~ end
+--~ n = n.next
+--~ end
+--~ end
+
+--~ nodes.firstline = firstline