summaryrefslogtreecommitdiff
path: root/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'blocks.js')
-rw-r--r--blocks.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/blocks.js b/blocks.js
index 6f3ed28..858d08a 100644
--- a/blocks.js
+++ b/blocks.js
@@ -1277,6 +1277,18 @@ SyntaxElementMorph.prototype.labelPart = function (spec) {
);
part.setContents(['a line']);
break;
+ case '%clearmode':
+ part = new InputSlotMorph(
+ null, // text
+ false, // numeric?
+ {
+ 'my pen trails': ['my pen trails'],
+ 'all pen trails': ['all pen trails']
+ },
+ true
+ );
+ part.setContents(['all pen trails']);
+ break;
// symbols: