[squeak-dev] Re: text selection broken

marcel.taeumel Marcel.Taeumel at hpi.de
Tue May 17 08:45:05 UTC 2016

Hi, there.

Yes, I changed that to address an issue with method templates and the focus
*not* following the mouse cursor but requiring a click:

We can discuss the impact of such trade-off but let me first explain the
technical perspective and the offer some alternatives to the issues at hand.

A mouse click in a pluggable text morph can target three different areas:
A) Inside text (lines), inside text morph, inside pluggable text morph
B) Outside text (lines), inside text morph, inside pluggable text morph
C) Outside text (lines), outside text morph, inside pluggable text morph

Here is the situation for method templates:

Here is the situation with a method that is larger than the screen space

Here is the situation with a one-liner, for example, our world search bar:

Before my change in Morphic-mt.1144, B and C provided the same behavior.
Now, C does nothing to the text selection while B still does. Now, a large
area C helps for extending the behavior of B. Note that we still have CMD+A
to select the whole text and I assume we follow a bi-manual interaction
scheme using both keyboard and mouse on a regular basis. Additionally, I
noticed a strong interest in good keyboard shortcuts around here. :-)

So, I see the following options here:

1) Make C only behave differently to B when the focus does not follow the
mouse cursor. Either way, make C behave like B when facing a one-line text
morph such as our search bar.
2) Always make C behave like B and ignore the issue with the method
3) Keep it as it is now, meaning C is always different to B.

You votes?


View this message in context: http://forum.world.st/text-selection-broken-tp4895226p4895300.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.

More information about the Squeak-dev mailing list