-61 mmm 0xFFFFFFC3 ? mmmm
int utf32Code; /* UTF-32 unicode value */ mmmm does anyone consider the data coming back could be a 32bit value that is unsigned? mmmm value = positive32BitIntegerFor(value); oh details details... oh wait look we ask if the value is an integervalue, aka a SmallInteger, if it is then we pass it up, if it's not a SmallInteger, thus a Large Integer, we decide to pass it up as a Positive 32bit value. Ergo if the value was 0xFFFFFFC3 why then it would flow up as a negative SmallIInteger, like -61, then twist the mind of Michael? On Mon, Mar 9, 2009 at 10:03 PM, Michael Rueger <[email protected]> wrote: > Mariano Martinez Peck wrote: >> I send you the wallback: > >> Character class>>value: >> Receiver: Character >> Arguments and temporary variables: >> anInteger: -61 > > OK, that can't work... > >> TextMorphEditor>>dispatchOnKeyEvent:with: >> TextMorphEditor(ParagraphEditor)>>keystroke: > > Could you tell me the inst var values of the key event passed here? > > Especially interesting are > keyValue charCode scanCode > > No idea yet why that value is negative... > > Thanks > > Michael > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- =========================================================================== John M. McIntosh <[email protected]> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
