[squeak-dev] The Inbox: Tools-cmm.826.mcz
commits at source.squeak.org
commits at source.squeak.org
Sun Jul 1 23:35:32 UTC 2018
Chris Muller uploaded a new version of Tools to project The Inbox:
http://source.squeak.org/inbox/Tools-cmm.826.mcz
==================== Summary ====================
Name: Tools-cmm.826
Author: cmm
Time: 1 July 2018, 6:35:14.376257 pm
UUID: e7b1e100-7da9-48e8-b544-7a5035c0693e
Ancestors: Tools-cmm.825
Command++ and Command+- hot keys for increasing/decreasing the sizes of all fonts.
=============== Diff against Tools-cmm.825 ===============
Item was changed:
----- Method: PasteUpMorph>>defaultDesktopCommandKeyTriplets (in category '*Tools') -----
defaultDesktopCommandKeyTriplets
"Answer a list of triplets of the form
<key> <receiver> <selector> [+ optional fourth element, a <description> for use in desktop-command-key-help]
that will provide the default desktop command key handlers. If the selector takes an argument, that argument will be the command-key event"
| noviceKeys expertKeys |
noviceKeys := {
{ $o. ActiveWorld. #activateObjectsTool. 'Activate the "Objects Tool"'}.
{ $r. ActiveWorld. #restoreMorphicDisplay. 'Redraw the screen'}.
{ $z. self. #undoOrRedoCommand. 'Undo or redo the last undoable command'}.
{ $F. Project current. #toggleFlapsSuppressed. 'Toggle the display of flaps'}.
{ $N. self. #toggleClassicNavigatorIfAppropriate. 'Show/Hide the classic Navigator, if appropriate'}.
{ $M. self. #toggleShowWorldMainDockingBar. 'Show/Hide the Main Docking Bar'}.
{ $]. Smalltalk. #saveSession. 'Save the image.'}.
}.
Preferences noviceMode
ifTrue:[^ noviceKeys].
expertKeys := {
{ $b. SystemBrowser. #defaultOpenBrowser. 'Open a new System Browser'}.
{ $k. StringHolder. #open. 'Open a new, blank Workspace'}.
{ $m. self. #putUpNewMorphMenu. 'Put up the "New Morph" menu'}.
{ $O. self. #findAMonticelloBrowser. 'Bring a Monticello window into focus.'}.
{ $t. self. #findATranscript:. 'Make a System Transcript visible'}.
{ $w. SystemWindow. #closeTopWindow. 'Close the topmost window'}.
{ Character escape. SystemWindow. #closeTopWindow. 'Close the topmost window'}.
{ $C. self. #findAChangeSorter:. 'Make a Change Sorter visible'}.
{ $L. self. #findAFileList:. 'Make a File List visible'}.
{ $P. self. #findAPreferencesPanel:. 'Activate the Preferences tool'}.
{ $R. Utilities. #browseRecentSubmissions. 'Make a Recent Submissions browser visible'}.
{ $W. self. #findAMessageNamesWindow:. 'Make a MessageNames tool visible'}.
{ $Z. ChangeList. #browseRecentLog. 'Browse recently-logged changes'}.
{ $\. SystemWindow. #sendTopWindowToBack. 'Send the top window to the back'}.
{ $_. Smalltalk. #quitPrimitive. 'Quit the image immediately.'}.
+
+ { $-. Preferences. #decreaseFontSize. 'Increase all font sizes'}.
+ { $+. Preferences. #increaseFontSize. 'Decrease all font sizes'}.
}.
^ noviceKeys, expertKeys
!
More information about the Squeak-dev
mailing list
|