From 6fa1fcd87637cae8f0ad76951b7b389db6bfa969 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Wed, 31 Jul 2013 15:15:27 +0200 Subject: experimental text SPLIT primitive in the operators category (currently only accessible in dev mode) --- blocks.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'blocks.js') diff --git a/blocks.js b/blocks.js index a955a7f..d58474e 100644 --- a/blocks.js +++ b/blocks.js @@ -155,7 +155,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2013-July-30'; +modules.blocks = '2013-July-31'; var SyntaxElementMorph; var BlockMorph; @@ -793,6 +793,16 @@ SyntaxElementMorph.prototype.labelPart = function (spec) { true // read-only ); break; + case '%delim': + part = new InputSlotMorph( + null, // text + false, // numeric? + { + '--line--' : ['--line--'] + }, + false // read-only + ); + break; case '%ida': part = new InputSlotMorph( null, -- cgit v1.3.1