The Trunk: ToolBuilder-Kernel-mt.73.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: ToolBuilder-Kernel-mt.73.mcz

commits-2
Marcel Taeumel uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-mt.73.mcz

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

Name: ToolBuilder-Kernel-mt.73
Author: mt
Time: 7 April 2015, 9:12:27.853 am
UUID: 57fb3dea-b8ef-3944-abe9-7dbde14bac8e
Ancestors: ToolBuilder-Kernel-mt.72

Pluggable text spec extended to provide an edit-selector, which gives the model a chance to be notified about *any* edits (not only accepts):

=============== Diff against ToolBuilder-Kernel-mt.72 ===============

Item was changed:
  PluggableWidgetSpec subclass: #PluggableTextSpec
+ instanceVariableNames: 'getText setText selection menu askBeforeDiscardingEdits editText'
- instanceVariableNames: 'getText setText selection menu askBeforeDiscardingEdits'
  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>>editText (in category 'accessing') -----
+ editText
+ ^ editText!

Item was added:
+ ----- Method: PluggableTextSpec>>editText: (in category 'accessing') -----
+ editText: aSymbol
+ "Answer the selector for getting informed about any modifications of the text."
+ editText := aSymbol!