[squeak-dev] Re: The Trunk: Morphic-cmm.1052.mcz

marcel.taeumel Marcel.Taeumel at hpi.de
Sun Nov 22 13:40:51 UTC 2015


Hi Chris,

I fixed undo again:
http://forum.world.st/The-Trunk-Morphic-mt-1053-mcz-td4862470.html

Now we can continue this discussion.

1) I understand that that magical enclosing selection violates that "replace
selection with new expression" principle. We might consider adding a
preference for that because I just cannot recall those hidden enclose
keyboard shotcuts. Having brackets enclosing selections this feels much more
convenient. Keeps the flow, you know. ;-) For now, it's gone again. What a
pity.

2) Why did you break the undo for autoEnclose in the first place? Was it a
slip? Maybe I misunderstood "connect existing expression to a new
expression" but the way TextEditor >> #autoEncloseFor: is now (with undo
working again) it does not seem to harm anything. You must not modify the
text cursor while just typing in (or calling #addString:). See #closeTypeIn
for explanation. Btw: The (old/mini) undo in 5.0 was also broken for
autoEnclose. That additional closing char did not disappear. --- However, it
works now.

Does this cover it? Introducing additional ways to do the same is very
common in user interface design. It's not just about novices and experts.
For example, there is CMD+V and the context menu with "Paste it". To ways to
achieve the same thing. :)

Best,
Marcel



--
View this message in context: http://forum.world.st/The-Trunk-Morphic-cmm-1052-mcz-tp4862408p4862474.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.


More information about the Squeak-dev mailing list