diff options
| author | jmoenig <jens@moenig.org> | 2014-07-18 15:36:56 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2014-07-18 15:36:56 +0200 |
| commit | f09a7177199788e83194fc261eb7a5584d03371b (patch) | |
| tree | 6317ab9ceba577cbc8bec9a1c43a22b4f64a8d6f | |
| parent | 314c99737f195c1302968cfffc7c94bf8506271d (diff) | |
| download | snap-f09a7177199788e83194fc261eb7a5584d03371b.tar.gz snap-f09a7177199788e83194fc261eb7a5584d03371b.zip | |
rename "character" to "letter" in delimiter list
of “split” block
| -rw-r--r-- | blocks.js | 4 | ||||
| -rwxr-xr-x | history.txt | 1 | ||||
| -rw-r--r-- | threads.js | 4 |
3 files changed, 5 insertions, 4 deletions
@@ -155,7 +155,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph, Costume*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2014-July-17'; +modules.blocks = '2014-July-18'; var SyntaxElementMorph; @@ -848,7 +848,7 @@ SyntaxElementMorph.prototype.labelPart = function (spec) { null, // text false, // numeric? { - 'character' : ['character'], + 'letter' : ['letter'], 'whitespace' : ['whitespace'], 'line' : ['line'], 'tab' : ['tab'], diff --git a/history.txt b/history.txt index 29e3586..5ffbf4b 100755 --- a/history.txt +++ b/history.txt @@ -2209,3 +2209,4 @@ ______ ------ * Lists: incorporate Brian’s adhoc fixes, thanks, Brian! * GUI: Use new mechanism for unique costume names on the paint editor, renamed costumes and costumes dragged and dropped onto sprite icons +* add “letter” option to the split block’s list of delimiters, Thanks, Michael! @@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/ // Global stuff //////////////////////////////////////////////////////// -modules.threads = '2014-July-11'; +modules.threads = '2014-July-18'; var ThreadManager; var Process; @@ -2148,7 +2148,7 @@ Process.prototype.reportTextSplit = function (string, delimiter) { break; case 'whitespace': return new List(str.trim().split(/[\t\r\n ]+/)); - case 'character': + case 'letter': del = ''; break; default: |
