kopia lustrzana https://github.com/backface/turtlestitch
improved inspectability of local variables
rodzic
54decac720
commit
e9cc801207
12
blocks.js
12
blocks.js
|
@ -150,7 +150,7 @@ CustomCommandBlockMorph*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.blocks = '2017-January-19';
|
||||
modules.blocks = '2017-January-20';
|
||||
|
||||
var SyntaxElementMorph;
|
||||
var BlockMorph;
|
||||
|
@ -2539,6 +2539,16 @@ BlockMorph.prototype.userMenu = function () {
|
|||
);
|
||||
});
|
||||
}
|
||||
proc.homeContext.variables.names().forEach(function (vn) {
|
||||
if (!contains(vNames, vn)) {
|
||||
menu.addItem(
|
||||
vn + '...',
|
||||
function () {
|
||||
proc.doShowVar(vn);
|
||||
}
|
||||
);
|
||||
}
|
||||
});
|
||||
return menu;
|
||||
}
|
||||
if (this.parent.parentThatIsA(RingMorph)) {
|
||||
|
|
|
@ -3314,3 +3314,7 @@ Fixes:
|
|||
* German translation update
|
||||
* Blocks: changed keyboard shortcut indicator for “find blocks” to “^”
|
||||
* GUI: fixed #1631
|
||||
|
||||
170120
|
||||
------
|
||||
* Blocks: improved inspectability of local variables
|
||||
|
|
Ładowanie…
Reference in New Issue