[Pkg] The Trunk: Morphic-nice.643.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Mar 3 13:41:41 UTC 2013


Nicolas Cellier uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-nice.643.mcz

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

Name: Morphic-nice.643
Author: nice
Time: 3 March 2013, 2:39:24.622 pm
UUID: e92737ec-32dd-4235-98ad-8ac87bced50d
Ancestors: Morphic-fbs.642

Don't inline selectionAsStream
(purpose is to reduce usage of on:from:to: and ReadWriteStream).

=============== Diff against Morphic-fbs.642 ===============

Item was changed:
  ----- Method: TextEditor>>fileItIn (in category 'menu messages') -----
  fileItIn
  	"Make a Stream on the text selection and fileIn it.
  	 1/24/96 sw: moved here from FileController; this function can be useful from any text window that shows stuff in chunk format"
  
+ 	self selectionAsStream fileIn
- 	| selection |
- 	selection := self selection.
- 	(ReadWriteStream on: selection string from: 1 to: selection size) fileIn
  !



More information about the Packages mailing list