This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-02-12 17:56:02

legoscratch
Scratcher
Registered: 2010-06-18
Posts: 100+

When I select text while holding a key, "a primitive error" shows up.

I was using the answer to the ask block (morph name: ScratchPrompter) and selecting text while holding the n key, then this window came up:

the window wrote:

a primitive has failed

UTF32 class(Object)>>error:
UTF32 class(Object)>>primitiveFailed
UTF32 class(Behavior)>>basicNew:
UTF32 class(Behavior)>>new:
UTF32 (SequencableCollection)>>copyFrom:to:
StringFieldMorph>>insertCharacter:
StringFieldMorph>>keyStroke:
HandMorph>>handleEvent:
HandMorph>>processEvents
[ ] in PasteUpMorph>>doOneCycleNow

That's it.

I found that in a Squeak TextMorph, the problem doesn't come up.


If you are having trouble with simple counting, use the following mnemonic device: 1 comes before 2 comes before 5,280 comes before 523,860,759 comes after the square root of -153 comes before π. This will make your previous counting problems seem like no big deal.

Offline

 

Board footer