kopia lustrzana https://github.com/backface/turtlestitch
Enable nested auto-wrapping by default
rodzic
d43ebe6428
commit
cd22b94e0b
|
@ -5328,7 +5328,7 @@ ScriptsMorph.prototype.cleanUpMargin = 20;
|
||||||
ScriptsMorph.prototype.cleanUpSpacing = 15;
|
ScriptsMorph.prototype.cleanUpSpacing = 15;
|
||||||
ScriptsMorph.prototype.isPreferringEmptySlots = true;
|
ScriptsMorph.prototype.isPreferringEmptySlots = true;
|
||||||
ScriptsMorph.prototype.enableKeyboard = true;
|
ScriptsMorph.prototype.enableKeyboard = true;
|
||||||
ScriptsMorph.prototype.enableNestedAutoWrapping = false;
|
ScriptsMorph.prototype.enableNestedAutoWrapping = true;
|
||||||
|
|
||||||
// ScriptsMorph instance creation:
|
// ScriptsMorph instance creation:
|
||||||
|
|
||||||
|
|
12
gui.js
12
gui.js
|
@ -72,7 +72,7 @@ isRetinaSupported, SliderMorph, Animation*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.gui = '2016-November-25';
|
modules.gui = '2016-November-28';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
@ -2038,10 +2038,10 @@ IDE_Morph.prototype.applySavedSettings = function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
// nested auto-wrapping
|
// nested auto-wrapping
|
||||||
if (autoWrapping) {
|
if (autoWrapping === 'false') {
|
||||||
ScriptsMorph.prototype.enableNestedAutoWrapping = true;
|
|
||||||
} else {
|
|
||||||
ScriptsMorph.prototype.enableNestedAutoWrapping = false;
|
ScriptsMorph.prototype.enableNestedAutoWrapping = false;
|
||||||
|
} else {
|
||||||
|
ScriptsMorph.prototype.enableNestedAutoWrapping = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// plain prototype labels
|
// plain prototype labels
|
||||||
|
@ -2551,9 +2551,9 @@ IDE_Morph.prototype.settingsMenu = function () {
|
||||||
ScriptsMorph.prototype.enableNestedAutoWrapping =
|
ScriptsMorph.prototype.enableNestedAutoWrapping =
|
||||||
!ScriptsMorph.prototype.enableNestedAutoWrapping;
|
!ScriptsMorph.prototype.enableNestedAutoWrapping;
|
||||||
if (ScriptsMorph.prototype.enableNestedAutoWrapping) {
|
if (ScriptsMorph.prototype.enableNestedAutoWrapping) {
|
||||||
myself.saveSetting('autowrapping', true);
|
|
||||||
} else {
|
|
||||||
myself.removeSetting('autowrapping');
|
myself.removeSetting('autowrapping');
|
||||||
|
} else {
|
||||||
|
myself.saveSetting('autowrapping', false);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ScriptsMorph.prototype.enableNestedAutoWrapping,
|
ScriptsMorph.prototype.enableNestedAutoWrapping,
|
||||||
|
|
|
@ -3147,3 +3147,4 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
|
||||||
* Blocks: added symbols for “turnBack” and “turnForward”
|
* Blocks: added symbols for “turnBack” and “turnForward”
|
||||||
* Morphic: added support for floating tool bars in scroll frames
|
* Morphic: added support for floating tool bars in scroll frames
|
||||||
* Blocks: added dynamic “undo” / “redo” buttons to each scripting pane
|
* Blocks: added dynamic “undo” / “redo” buttons to each scripting pane
|
||||||
|
* GUI, Blocks: Enable nested auto-wrapping by default
|
||||||
|
|
Ładowanie…
Reference in New Issue