Version Tested : Squeak 5.3 (Seems to happen in 5.2 also)
Problem: In the textual version of the script "show code textually" any
modification cannot be saved and executed.
Steps to reproduce.
1. Create any object like Sketch, Rectangle etc
2. Create an emptyScript
3. In the menu (top left button of the script window) click and choose "show
code textually"
4. Type some code like "self forward: 10" (without quotes of course!)
5. Try Ctrl-S to save the code. :( The orange dog ear don't go away,
indicating the script not saved
6. Try executing the script; still the script don't execute.
PS: The same scenario works on the etoys version 5 from squeakland.org.
<http://forum.world.st/file/t372264/steps_to_reproduce.jpg>
--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html
Marcel Taeumel uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-mt.349.mcz
==================== Summary ====================
Name: EToys-mt.349
Author: mt
Time: 19 August 2019, 2:42:42.183039 pm
UUID: 46ba930f-ca23-ab4a-b0b3-ca9e1b2fffba
Ancestors: EToys-mt.348
For Etoys release building, ensure that all control and alt keys stay duplicated. Skip the information dialog until we have a more script-friendly version of that preference. It tells us about re-setting mutually exclusive preferences.
=============== Diff against EToys-mt.348 ===============
Item was changed:
----- Method: ReleaseBuilderSqueakland class>>setPreferences (in category 'scripts') -----
setPreferences
super setPreferences.
+
+ [ "Reset all preferences to their default value but ensure that all control and alt keys stay duplicated."
+ Preferences cambridge.
+ Preferences allPreferences do: [:each |
+ each defaultValue: each preferenceValue].
+ Preferences
+ enable: #duplicateAllControlAndAltKeys.
+ ] valueSupplyingAnswer: true.
- Preferences cambridge.
- Preferences allPreferences do: [:each |
- each defaultValue: each preferenceValue].
Preferences
disable: #alternativeWindowBoxesLook;
enable: #magicHalos;
enable: #mouseOverHalos;
enable: #roundedScrollBarLook;
enable: #roundedWindowCorners;
enable: #showAdvancedNavigatorButtons;
disable: #honorDesktopCmdKeys;
disable: #warnIfNoChangesFile;
disable: #warnIfNoSourcesFile;
enable: #unlimitedPaintArea;
enable: #fastDragWindowForMorphic;
enable: #noviceMode;
disable: #generalizedYellowButtonMenu;
disable: #showAdvancedNavigatorButtons;
disable: #signProjectFiles;
disable: #warnIfNoChangesFile;
disable: #warnIfChangesFileReadOnly;
disable: #warnIfNoSourcesFile.
Morph preferredCornerRadius: 8.
PluggableButtonMorph roundedButtonCorners: true.
FillInTheBlankMorph roundedDialogCorners: true.
SystemWindow roundedWindowCorners: true.
Cursor useBiggerCursors: true.
TrashCanMorph
slideDismissalsToTrash: true;
preserveTrash: true.
SugarNavigatorBar
showHideButton: false;
showSugarNavigator: true.
Deprecation showDeprecationWarnings: false.!