In trying to see if anything had changed re WaveEditor etc I updated an image to update 16963. When I went to save this image a Squeak5.1-16963… I selected the last thre digits of the prior name (Squeak5.1-16549…) intending to type 963. Imagine my surprise - nay, alarm! - when I got ‘Squeak5.1-16(963) instead.
Oh my, I said to myself, what has Pooh done now. As best I can work out this is a result of the change in TextEditor>enclose: that added ‘9’ some time ago (and which did not affect me since I normally turn off the annoying enclose stuff in preferences) combined with a more recent change to TextEditor>dispatchOnKeyboardEvent: wherein a use of TextEditor>enclose: was added near the end. I see two obviously related Preferences for enclosing text. I see this as a dangerous thing, because multiple preferences interacting on the same issue can cause chaos, not to say confusion. And every time a preference is added it is yet another sheaf of potential problems to test. So, yes, I can turn it off easily enough. But how could it ever be unsurprising to a user to get a(bc)d instead of the expected a9d ? tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim Useful random insult:- Fell out of the family tree. |
Old thread, but still up to date. When would you ever expect the 9 key do add
brackets? I struggle with it every day. What would be wrong with just removing this 9? Or at least introducing a new preference for that (TextEditor>>#useDigitsToEncloseSelection)? -- Sent from: http://forum.world.st/Squeak-Dev-f45488.html
Carpe Squeak!
|
Indeed, different layouts, different expectations... Le lun. 4 nov. 2019 à 21:14, Christoph Thiede <[hidden email]> a écrit : Old thread, but still up to date. When would you ever expect the 9 key do add |
In reply to this post by Christoph Thiede
> When would you ever expect the 9 key do add brackets? Well, for the US/GB layout, I would expect that. :-) Best, Marcel
|
Mine is this:
¯\_(ツ)_/¯ On 05.11.2019, at 08:44, Marcel Taeumel <[hidden email]> wrote: |
Hmm... it should be sufficient to check for the character code for "(" ... but I suppose there are some hick-ups with the key codes? Best, Marcel
|
In reply to this post by marcel.taeumel
Even with respect to the qwerty layout, I would still expect that I have to press Shift + 9 to enclose the selection with brackets ... It's just inconsistent that 8 and 9 behave so totally different. In particular, I am referring to the numeric keypad, where no keyboard layout (I am aware of) has a bracket printed above the 9.
Best, Christoph
Von: Squeak-dev <[hidden email]> im Auftrag von Taeumel, Marcel
Gesendet: Dienstag, 5. November 2019 08:44:36 An: John Pfersich via Squeak-dev Betreff: Re: [squeak-dev] When did it become a good idea for selected text to be enclosed by () instead of replaced by 9 ? > When would you ever expect the 9 key do add brackets?
Well, for the US/GB layout, I would expect that. :-)
<img onload="InlineImageLoader.GetLoader().Load(this)" naturalheight="152" naturalwidth="413" width="auto" style="user-select: none;" src="https://forum.world.st/attachment/5106652/0/image.png">
Best,
Marcel
Carpe Squeak!
|
Free forum by Nabble | Edit this page |