[squeak-dev] The Trunk: ToolBuilder-Kernel-ar.22.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Oct 5 04:26:25 UTC 2009


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

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

Name: ToolBuilder-Kernel-ar.22
Author: ar
Time: 4 October 2009, 9:26:15 am
UUID: c726b2f0-3012-094c-8a4f-5f2aeeff69c0
Ancestors: ToolBuilder-Kernel-ar.21

Text specs need to be able to turn off noisy questions about whether it's okay to discard edits or not. Add a property to that effect.

=============== Diff against ToolBuilder-Kernel-ar.21 ===============

Item was changed:
  PluggableWidgetSpec subclass: #PluggableTextSpec
+ 	instanceVariableNames: 'getText setText selection menu color askBeforeDiscardingEdits'
- 	instanceVariableNames: 'getText setText selection menu color'
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'ToolBuilder-Kernel'!
  
  !PluggableTextSpec commentStamp: 'ar 2/11/2005 21:58' prior: 0!
  A text editor.
  
  Instance variables:
  	getText	<Symbol>	The selector to retrieve the text.
  	setText	<Symbol>	The selector to set the text.
  	selection <Symbol>	The selector to retrieve the text selection.
  	menu	<Symbol>	The selector to offer (to retrieve?) the context menu.
  	color	 <Symbol>	The selector to retrieve the background color.
  
  !

Item was added:
+ ----- Method: PluggableTextSpec>>askBeforeDiscardingEdits: (in category 'accessing') -----
+ askBeforeDiscardingEdits: aBool
+ 	askBeforeDiscardingEdits := aBool!

Item was added:
+ ----- Method: PluggableTextSpec>>askBeforeDiscardingEdits (in category 'accessing') -----
+ askBeforeDiscardingEdits
+ 	^askBeforeDiscardingEdits ifNil:[true]!




More information about the Squeak-dev mailing list