diff options
| author | jmoenig <jens@moenig.org> | 2013-07-04 15:31:05 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-07-04 15:31:05 +0200 |
| commit | b59f7f3e274688a4c70df6e9a16f02d88005a381 (patch) | |
| tree | 4166e0d642e4c5bcaefafa90ae63a32c3ed8e307 /threads.js | |
| parent | 8e0f60fdd68a145d7f2acc5d350d5214c844fd54 (diff) | |
| download | snap-byow-b59f7f3e274688a4c70df6e9a16f02d88005a381.tar.gz snap-byow-b59f7f3e274688a4c70df6e9a16f02d88005a381.zip | |
Codification (blocks to text) support complete
text code mapping and block header support, both via GUI and
primitives, for built-in blocks and for custom ones.
Diffstat (limited to 'threads.js')
| -rw-r--r-- | threads.js | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -83,7 +83,7 @@ ArgLabelMorph, localize*/ // Global stuff //////////////////////////////////////////////////////// -modules.threads = '2013-June-18'; +modules.threads = '2013-July-04'; var ThreadManager; var Process; @@ -2291,6 +2291,14 @@ Process.prototype.reportTimer = function () { blocks - not needed to run or debug Snap */ +Process.prototype.doMapHeader = function (aContext, aString) { + if (aContext instanceof Context) { + if (aContext.expression instanceof SyntaxElementMorph) { + return aContext.expression.mapHeader(aString || ''); + } + } +}; + Process.prototype.doMapCode = function (aContext, aString) { if (aContext instanceof Context) { if (aContext.expression instanceof SyntaxElementMorph) { |
