summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-brk.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2009-12-22 13:15:00 +0100
committerHans Hagen <pragma@wxs.nl>2009-12-22 13:15:00 +0100
commit608f6a9dca87c2073c2a74c7eb961ec3077f9f76 (patch)
treea31b00d3cdd021407c4731c23cff31ebfa6fb4e7 /tex/context/base/typo-brk.lua
parentfde411dd869e9b19c98ef73c38fea591a468262f (diff)
downloadcontext-608f6a9dca87c2073c2a74c7eb961ec3077f9f76.tar.gz
beta 2009.12.22 13:15
Diffstat (limited to 'tex/context/base/typo-brk.lua')
-rw-r--r--tex/context/base/typo-brk.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/tex/context/base/typo-brk.lua b/tex/context/base/typo-brk.lua
index e3d0a8ad8..5cab6a667 100644
--- a/tex/context/base/typo-brk.lua
+++ b/tex/context/base/typo-brk.lua
@@ -28,7 +28,6 @@ local kern = node.id("kern")
breakpoints = breakpoints or { }
breakpoints.mapping = breakpoints.mapping or { }
breakpoints.methods = breakpoints.methods or { }
-breakpoints.enabled = false
breakpoints.attribute = attributes.private("breakpoint")
storage.register("breakpoints/mapping", breakpoints.mapping, "breakpoints.mapping")
@@ -189,3 +188,7 @@ chars.handle_breakpoints = nodes.install_attribute_handler {
namespace = breakpoints,
processor = breakpoints.process,
}
+
+function breakpoints.enable()
+ tasks.enableaction("processors","chars.handle_breakpoints")
+end