[etoys-dev] Etoys: Morphic-kfr.52.mcz

commits at source.squeak.org commits at source.squeak.org
Sun May 15 13:53:49 EDT 2011


Karl Ramberg uploaded a new version of Morphic to project Etoys:
http://source.squeak.org/etoys/Morphic-kfr.52.mcz

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

Name: Morphic-kfr.52
Author: kfr
Time: 15 May 2011, 7:52:49 pm
UUID: a449b875-d280-3e46-abed-b28fb09f8970
Ancestors: Morphic-kfr.51

Insert characters at end of text.
Fix SQ-809

=============== Diff against Morphic-kfr.50 ===============

Item was added:
+ ----- Method: TextMorph>>insertCharactersAtEnd: (in category 'scripting access') -----
+ insertCharactersAtEnd: aSource
+ 	"Insert the characters from the given player at my current cursor position"
+ 
+ 	| aLoc |
+ 	aLoc _ text string size + 1.
+ 	paragraph replaceFrom: aLoc to: (aLoc - 1) with: aSource asText displaying: true.
+ 	self updateFromParagraph   !

Item was changed:
  ----- Method: UserText>>initialize (in category 'initialization') -----
  initialize
  	"Initialize the receiver."
  
  	super initialize.
  	wrapFlag _ false.
  	self margins: 6 at 0.
+ 	self autoFit: true. 
- 	self autoFit: true.
  !



More information about the etoys-dev mailing list