Re: [Pharo-project] return character magic?

2010-08-31 Thread Stéphane Ducasse
alchemist! Stef On Aug 31, 2010, at 1:20 AM, Nicolas Cellier wrote: Henrik, you must be a kind of sorcerer or maybe a devil! Nicolas 2010/8/31 Henrik Sperre Johansen henrik.s.johan...@veloxit.no: On 30.08.2010 22:05, Nicolas Cellier wrote: 2010/8/30 Stéphane

[Pharo-project] return character magic?

2010-08-30 Thread Johan Brichau
Hi all, Just last week, I had a very strange phenomenon in my Pharo image: the return character (^) was changed by an up arrow (see screenshot below). I was not really able to reproduce the 'problem' but now we got a repeatable one: Just load the attached js file in a Seaside WAFilelibrary

Re: [Pharo-project] return character magic?

2010-08-30 Thread Stéphane Ducasse
A while ago I got the same with _ Stef On Aug 30, 2010, at 8:28 PM, Johan Brichau wrote: Hi all, Just last week, I had a very strange phenomenon in my Pharo image: the return character (^) was changed by an up arrow (see screenshot below). I was not really able to reproduce the 'problem'

Re: [Pharo-project] return character magic?

2010-08-30 Thread Johan Brichau
so what did you do? I see that the file got removed... I will submit a bug issue for that with the file attached. The *real* problem is that you cannot remove it either! It does _not_ want to go away! On 30 Aug 2010, at 20:31, Stéphane Ducasse wrote: A while ago I got the same with _

Re: [Pharo-project] return character magic?

2010-08-30 Thread Lukas Renggli
It happens with WideStrings, you get the normal display with ByteString instances. To reproduce just print an expression like Character value: 1024 if you can't type non-ascii characters on your keyboard. Now, why the display changes I don't know either ... Lukas On 30 August 2010 20:31,

Re: [Pharo-project] return character magic?

2010-08-30 Thread Stéphane Ducasse
On Aug 30, 2010, at 8:33 PM, Johan Brichau wrote: so what did you do? I see that the file got removed... I will submit a bug issue for that with the file attached. The *real* problem is that you cannot remove it either! It does _not_ want to go away! Oops! A bad spirit in pharo :)

Re: [Pharo-project] return character magic?

2010-08-30 Thread Nicolas Cellier
2010/8/30 Stéphane Ducasse stephane.duca...@inria.fr: On Aug 30, 2010, at 8:33 PM, Johan Brichau wrote: so what did you do? I see that the file got removed...  I will submit a bug issue for that with the file attached. The *real* problem is that you cannot remove it either! It does _not_

Re: [Pharo-project] return character magic?

2010-08-30 Thread Miguel Enrique Cobá Martínez
El mar, 31-08-2010 a las 00:44 +0200, Henrik Sperre Johansen escribió: On 30.08.2010 22:05, Nicolas Cellier wrote: 2010/8/30 Stéphane Ducassestephane.duca...@inria.fr: On Aug 30, 2010, at 8:33 PM, Johan Brichau wrote: so what did you do? I see that the file got removed... I will

Re: [Pharo-project] return character magic?

2010-08-30 Thread Nicolas Cellier
Henrik, you must be a kind of sorcerer or maybe a devil! Nicolas 2010/8/31 Henrik Sperre Johansen henrik.s.johan...@veloxit.no:  On 30.08.2010 22:05, Nicolas Cellier wrote: 2010/8/30 Stéphane Ducassestephane.duca...@inria.fr: On Aug 30, 2010, at 8:33 PM, Johan Brichau wrote: so what did

Re: [Pharo-project] return character magic?

2010-08-30 Thread Eliot Miranda
Hi Henrik, twice you write a slip that the compiler should not allow: (map := characterToGlyphMap) ifNotNil: [:map | code := map at: code + 1]. code := (map := characterToGlyphMap) ifNil: [aCharacter charCode] ifNotNil: [:map | map at: aCharacter charCode + 1] these should read

Re: [Pharo-project] return character magic?

2010-08-30 Thread Henrik Sperre Johansen
On 31.08.2010 01:32, Eliot Miranda wrote: Hi Henrik, twice you write a slip that the compiler should not allow: (map := characterToGlyphMap) ifNotNil: [:map | code := map at: code + 1]. code := (map := characterToGlyphMap) ifNil: [aCharacter charCode] ifNotNil: [:map | map at: aCharacter

Re: [Pharo-project] return character magic?

2010-08-30 Thread Eliot Miranda
2010/8/30 Henrik Sperre Johansen henrik.s.johan...@veloxit.no On 31.08.2010 01:32, Eliot Miranda wrote: Hi Henrik, twice you write a slip that the compiler should not allow: (map := characterToGlyphMap) ifNotNil: [:map | code := map at: code + 1]. code := (map :=