tode
tode copied to clipboard
trouble with typing `^` in method pane
From Marten Feldtmann:
I entered a method text like:
testMe "Some comment here" ^1
and the system did no accept this. At least here I would give up.
But ok, what is the problem ? Well I pressed "^" and then "space" - to get "^" (as here in the browser), but this results into a very different character in the source code browser and you get a compiling error.
Solution: one has to enter "^" and again "^" to get the correct "^" in the source code browser. Puuuh.
Now I was able to enter and compile source code.
More from Marten -- the troublesome character sequence:
I get a DoubleByteString with the following UTF8 codes: [ 32 204 130 ] or as bytes [ 0 32 3 2 ] and a size of 2 (two characters).
more from Marten:
Its a COMBINING CIRCUMFLEX ACCENT and the correct code would be CIRCUMFLEX ACCENT (94) - no idea, what this means. Its the same with Pharo 5.0 - no idea what is special to my machine
I've a German layout keyboard
Hi Marten,
DoubleByteString with the following UTF8 codes: [ 32 204 130 ] This is a two character string comprising a space (32) and the combining circumflex as you noted (http://www.fileformat.info/info/unicode/char/0302/index.htm). I cannot tell where the space character came from, based on your report.
I have used Microsoft's International Multilingual keyboard mapping, but I do not see this behaviour. I have an old laptop with a Swiss keyboard that I may be able to resuscitate to try recreating what you have found.
With the International Multilingual keyboard mapping, if I want the "^" character by itself, there are only two ways to get it. 1) enter a space immediately following the "^" and the space is swallowed. 2) Enter a non-composing character, such as "s" (if I were typing "^self", for example.
Can you clarify whether this problem only happens in Pharo or if it also happens in other programs (such as Notepad, and a web browser). And for that matter, please confirm which operating system we are talking about. :-)
First of all - I work under Linux Ubuntu MATE 16.04 LTS unter Thinkpad W520 To get the $^ character in ALL other "native" Linux programs I press $^ followed by a SPACE and I get the $^ character alone. In Pharo 5 it does NOT work, it works under VW8.1 (Linux 32 bit or 64 bit) and in VASmalltalk 8.6.2 (Linux 32 bit), it does NOT work in Squeak 5.0
Hi Marten,
tODE does not support Pharo 5 at all, yet. I suggest you take this issue to the Pharo mailing list and see whether anyone, especially any of your countrymen, have encountered anything similar.
http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html