[Pkg] The Trunk: Tools-ar.194.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Feb 26 00:25:00 UTC 2010


Andreas Raab uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-ar.194.mcz

==================== Summary ====================

Name: Tools-ar.194
Author: ar
Time: 26 February 2010, 1:22:57.235 am
UUID: f853f7e6-3edf-314b-ab89-7a95ed1d7185
Ancestors: Tools-kb.193

Put the option to enable/disable syntax highlighting into the workspace's window menu (instead of the context menu) where the other workspace specific options are. Also change to wording to be less idiosyncratic.

=============== Diff against Tools-kb.193 ===============

Item was changed:
  ----- Method: Workspace>>toggleStylingLabel (in category 'code pane menu') -----
  toggleStylingLabel
  
  	^self shouldStyle 
+ 		ifTrue: [ '<on> syntax highlighting' ]
+ 		ifFalse: [ '<off> syntax highlighting' ]!
- 		ifTrue: [ 'disable shout styling' ]
- 		ifFalse: [ 'enable shout styling' ]!

Item was changed:
  ----- Method: Workspace>>addModelItemsToWindowMenu: (in category 'menu commands') -----
  addModelItemsToWindowMenu: aMenu 
  	
  	aMenu addLine.
  	aMenu
  		add: 'save contents to file...'
  		target: self
  		action: #saveContentsInFile.
  	aMenu
  		add: 'reset variables'
  		target: self
  		action: #initializeBindings.
  	aMenu
  		addUpdating: #mustDeclareVariableWording
  		target: self
  		action: #toggleVariableDeclarationMode.
  	aMenu
  		addUpdating: #acceptDroppedMorphsWording
  		target: self
+ 		action: #toggleDroppingMorphForReference.
+ 
+ 	self addToggleStylingMenuItemTo: aMenu.
+ !
- 		action: #toggleDroppingMorphForReference!

Item was removed:
- ----- Method: Workspace>>codePaneMenu:shifted: (in category 'code pane menu') -----
- codePaneMenu: aMenu shifted: shifted
- 	
- 	shifted ifFalse: [ 
- 		self addToggleStylingMenuItemTo: aMenu ].
- 	super codePaneMenu: aMenu shifted: shifted.
- 	^aMenu!



More information about the Packages mailing list