On 2024-01-06 22:55, Ivan Reche wrote:
Em sáb., 6 de jan. de 2024 19:47, lewis@mail.msen.com escreveu:
<bump>
Does anyone have any advice or suggestions to help Ivan with how to enter a caret (^) on a Portuguese ABNT2 keyboard?
I'm an experienced developer, so I could help investigating. It's probably something simple to fix, but maybe hard to troubleshoot.
Is it easy to run Squeak in some kind of debugger so I can try to track the behavior when I input the caret?
There is a utility for displaying incoming (keyboard and other) events in Squeak. Unfortunately I cannot remember what it is.
@Marcel, can you remind us how to display incoming keyboard events from the VM event queue?
Also, how do I understand what Squeak means by the red interrogation mark? Can I see the actual chat code for it? Maybe it can help us understand the issue.
The red interrogation mark is being displayed in a Workspace in your Squeak display. Yes, it is possible to see the actual characters that are being display. It is a bit hard to describe (but easy to do). Here is one way to do it:
1) Use the mouse to highlight the Workspace. 2) Click middle mouse button to activate the "halo" icons around the workspace. These give you direct ability to inspect and interact with the Workspace on your screen. 3) Find the round "Debug" halo icon, one down from the upper right icon, with a little graphic that looks like a wrench. 4) Click the icon and then select "explore model" 5) Navigate the object explorer, opening "contents" which is the Text object that is being displayed in your workspace. 6) The "contents" Text object consists of "string" (the characters being displayed) and "runs" (formatting for the string). Navigate into the string to see the list of characters being displayed in your workspace. 7) One of the characters in the string will be the thing that you tried to input as a caret (^) character. You can drill into that in the object explorer to see what it actually is. I don't know what you will see, but you expected it to be a caret character, and this is what you ended up with instead, so maybe it will give a clue.
Thanks a lot!
Please join us on the squeak-dev list. Your original question is quite simple, but debugging it might be a challenge :-)
https://lists.squeakfoundation.org/mailman3/lists/squeak-dev.lists.squeakfou...
Dave