[squeak-dev] The Trunk: Tools-mt.1076.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Nov 25 15:46:43 UTC 2021
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.1076.mcz
==================== Summary ====================
Name: Tools-mt.1076
Author: mt
Time: 25 November 2021, 4:46:40.121354 pm
UUID: 31084b11-5e1b-1e4c-acda-8241f2c735cb
Ancestors: Tools-mt.1075
Complements ShoutCore-mt.90
=============== Diff against Tools-mt.1075 ===============
Item was added:
+ ----- Method: Workspace>>canStyle (in category 'code pane menu') -----
+ canStyle
+
+ ^ (TextStyler for: #Smalltalk) notNil!
Item was changed:
----- Method: Workspace>>toggleStyling (in category 'code pane menu') -----
toggleStyling
+ self canStyle ifFalse: [^ self inform: 'No text styler for #Smalltalk configured.'].
shouldStyle := self shouldStyle not.
self changed: #style.!
Item was changed:
----- Method: Workspace>>toggleStylingLabel (in category 'code pane menu') -----
toggleStylingLabel
+ self canStyle
+ ifFalse: [^ '<off> syntax highlighting (not available)'].
+
^self shouldStyle
ifTrue: [ '<on> syntax highlighting' ]
ifFalse: [ '<off> syntax highlighting' ]!
More information about the Squeak-dev
mailing list
|