ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> squeak
squeak
Re: Problem with TextMorph
by Raymond Asselin other posts by this author
May 2 2001 1:30AM messages near this date
Identifying hardware Hand | Helio (prepacked) port?
Le Mardi 1 mai 2001, à 03:22, Andrew P. Black a écrit :

>  Raymond, I have some questions for you.  (Is this what they all 

>  "teledebugging"?)

> 

> > Using TextMorph and entering a diacritic character like  'È'  caused a 

> > walkBack

> 

>  This works fine on my Mac, but some of the keyboard stuff seems to be 

>  platform  specific.  What platform are you using?  Do you get the same 

>  problem in a clean image (i.e., one into which you have not loaded the 

>  Accufont stiff, or anything else.

> 

>  What character did you type?  Was it one of

> 

>  $È (character value  142)

>  $Ë (character value  143)

>  $Í (character value  144)

>  $ÃŽ (character value  145)

> 

>  It looks as though the keycode stored in your event is the correct code 

>  -256.  Note that 144-256 = -112. If you select the stack frame (in the 

>  top window of your debugger) for SmallInteger(Integer)>>asCharacter you 

>  will see (in the middle pane) the code for that method,  In the bottom 

>  panes are the instance variables and temporaries in scope at that 

>  point.  self will be, I think -112.

> 

>  The keycodes should always be in the range 0-255, so something may be 

>  rotten in your VM.  Looks like something is being converted to a signed 

>  8-bit int when it should be an unsigned 8-bit int.

> 

>  This could perhaps be a bad C compiler, or a bad option to the 

>  compiler.  What's weird is that it only shows up in a textMorph.  Or 

>  does it?  What happens if you type the same character in a Workspace?

> 

>  	Andrew

> 

> 

> > ==================

> > Image version: Squeak3.1alpha

> > latest update: #'Squeak3.1alpha' of 7 March 2001 update 3960

> > Current Change Set: Unnamed12

> >

> > VM version:

> > for:

> >

> > Receiver: #($>  $ $ $

> >  $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $  $! $" $# $$ 

> > $% $& $' $( $) $* $+ $, $- $. $/ $0 $1 $2 $3 $4 $5 $6 $7 $8 

> > $9 $: $; $< $= $> $? $@ $A $B $C $D $E $F $G $H $I $J $K $L $M $N $O 

> > $P $Q $R $S $T $U $V $W $X $Y $Z $[ $\ $] $^ $_ $` $a $b $c $d $e $f 

> > $g $h $i $j $k $l $m $n $o $p $q $r $s $t $u $v $w $x $y 

> > $z ${ $| $} $~ $ $§ $? $í $ü $ì $ä $› $˝ $ñ $î $S $– $ë $? 

> > $Z $? $? $' $' $" $" $* $- $- $ó $Å $s $ $¶ $? $z $ç $  $° $¢ $£ $? 

> > $• $| $ß $® $© $™ $´ $¨ $- $Æ $Ø $∞ $± $2 $3 $¥ $µ $∂ $∑ $∏ $1 $∫
 
> > $ª $? $? $? $ø $¿ $¡ $¬ $√ $ƒ $≈ $∆ $« $» $… $  $À $à $Õ $Œ $œ $? $
— 
> > $“ $” $‘ $’ $÷ $* $ÿ $Ÿ $⁄ $€ $‹ $Y $? $fl $‡ $· $‚ $„ $‰ $Â 
$Ê $Á $Ë 
> > $È $Í $Î $Ï $Ì $Ó $Ô $? $Ò $Ú $Û $Ù $ı $ˆ $˜ $¯ $˘ $˙ $˚ $¸ $y $? $ˇ)

> >

> > Instance variables:

> >

> > Method (temp) variables:

> > index:	-113

> >

> > Stack:

> > Array(Object)>>error:

> > Array(Object)>>errorSubscriptBounds:

> > Array(Object)>>at:

> > Character class>>value:

> > SmallInteger(Integer)>>asCharacter

> > KeyboardEvent>>keyCharacter

> > TextMorph>>handleKeystroke:

> > KeyboardEvent>>sentTo:

> > TextMorph(Morph)>>handleEvent:

> > TextMorph(Morph)>>handleFocusEvent:

> > [] in HandMorph>>sendFocusEvent:to:clear:

> > PasteUpMorph>>becomeActiveDuring:

> 


Hi Andrew,
		you find the problem. In fact I use almost only MacOS 10,  
and  two SqueakVM: a CarbonSqueakVM  = 'Squeak 3.0Alpha11MT',  and a 
CocoaSqueakVM from Marcel Weiher. The problem is linked to the 
CocoaSqueakVM, I will try to reload a new copy to see if the problem 
persist.

Thank you very much for your Help.


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved