[BUG][FIX] TextInput>>value

Mark Guzdial guzdial at cc.gatech.edu
Fri Feb 12 21:26:31 UTC 1999


I just tried to use Scamper in 2.3 (with the first round of updates) to do
some Swiki-ing, and found that clicking the Save button didn't work.
TextInput>>value gets the Text of the textMorph, but the
withInternetLineEndings wants a String as input.

value
	textMorph hasUnacceptedEdits ifTrue: [ textMorph accept ].
	^textMorph getText asString withInternetLineEndings

--------------------------
Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280
(404) 894-5618 : Fax (404) 894-0673 : guzdial at cc.gatech.edu
http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html





More information about the Squeak-dev mailing list