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; tim@rowledge.org; 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
Indeed, different layouts, different expectations... [image: Capture d’écran 2019-11-04 à 21.48.02.png] [image: Capture d’écran 2019-11-04 à 21.44.56.png]
Le lun. 4 nov. 2019 à 21:14, Christoph Thiede < christoph.thiede@student.hpi.uni-potsdam.de> a écrit :
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
When would you ever expect the 9 key do add brackets?
Well, for the US/GB layout, I would expect that. :-)
Best, Marcel Am 04.11.2019 21:14:51 schrieb Christoph Thiede christoph.thiede@student.hpi.uni-potsdam.de: 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
Mine is this:
¯_(ツ)_/¯
On 05.11.2019, at 08:44, Marcel Taeumel marcel.taeumel@hpi.de wrote:
When would you ever expect the 9 key do add brackets?
Well, for the US/GB layout, I would expect that. :-)
Best, Marcel
Am 04.11.2019 21:14:51 schrieb Christoph Thiede christoph.thiede@student.hpi.uni-potsdam.de:
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
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 Am 05.11.2019 08:55:21 schrieb Tobias Pape das.linux@gmx.de: Mine is this:
¯_(ツ)_/¯
On 05.11.2019, at 08:44, Marcel Taeumel <marcel.taeumel@hpi.de [mailto:marcel.taeumel@hpi.de]> wrote:
When would you ever expect the 9 key do add brackets?
Well, for the US/GB layout, I would expect that. :-)
Best, Marcel
Am 04.11.2019 21:14:51 schrieb Christoph Thiede <christoph.thiede@student.hpi.uni-potsdam.de [mailto:christoph.thiede@student.hpi.uni-potsdam.de]>:
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 [http://forum.world.st/Squeak-Dev-f45488.html]
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 squeak-dev-bounces@lists.squeakfoundation.org 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. :-)
[cid:05b811b6-75d8-4052-807c-2cf60a56c3e9]
Best, Marcel
Am 04.11.2019 21:14:51 schrieb Christoph Thiede christoph.thiede@student.hpi.uni-potsdam.de:
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
squeak-dev@lists.squeakfoundation.org