'From Squeak3.11alpha of 13 February 2010 [latest update: #9483] on 9 March 2010 at 11:11:23 am'! !Workspace methodsFor: 'menu commands' stamp: 'ar 2/26/2010 01:19'! 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. ! ! !Workspace methodsFor: 'code pane menu' stamp: 'ar 2/26/2010 01:19'! toggleStylingLabel ^self shouldStyle ifTrue: [ ' syntax highlighting' ] ifFalse: [ ' syntax highlighting' ]! ! Workspace removeSelector: #codePaneMenu:shifted:!