[squeak-dev] The Trunk: Tools-mt.625.mcz

commits at source.squeak.org commits at source.squeak.org
Tue May 12 19:04:55 UTC 2015


Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.625.mcz

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

Name: Tools-mt.625
Author: mt
Time: 12 May 2015, 9:04:37.267 pm
UUID: 21ada962-eb84-d340-8015-d51b6eb18839
Ancestors: Tools-mt.624

Fixed a regression in Message Names tool to support both line-wrap and CR-to-search.

=============== Diff against Tools-mt.624 ===============

Item was changed:
  ----- Method: MessageNames>>buildSearchPaneWith: (in category 'toolbuilder') -----
  buildSearchPaneWith: builder
  	
  	| panelSpec textSpec buttonSpec |
  	panelSpec := builder pluggablePanelSpec new
  		layout: #horizontal;
  		children: OrderedCollection new;
  		yourself.
  
+ 	textSpec := builder pluggableInputFieldSpec new.
- 	textSpec := builder pluggableTextSpec new.
  	textSpec 
  		model: searchString;
  		help: 'Type here, then hit Search.' translated;
  		getText: #contents; 
+ 		setText: #contents:;
+ 		softLineWrap: true.
- 		setText: #contents:.
  	panelSpec children add: textSpec.
  		
  	buttonSpec := builder pluggableActionButtonSpec new.
  	buttonSpec 
  		model: self;
  		label: 'Search';
  		action: #doSearch;
  		horizontalResizing: #shrinkWrap.
  	panelSpec children add: buttonSpec.
  			
  	^ panelSpec!



More information about the Squeak-dev mailing list