Marcel Taeumel uploaded a new version of Morphic to project The Trunk: http://source.squeak.org/trunk/Morphic-mt.1777.mcz
==================== Summary ====================
Name: Morphic-mt.1777 Author: mt Time: 21 July 2021, 10:52:27.461807 am UUID: 7889f198-c567-42b5-86b7-6ec550f79355 Ancestors: Morphic-mt.1776
Complements System-mt.1240
=============== Diff against Morphic-mt.1776 ===============
Item was changed: ----- Method: SmalltalkEditor>>styleSelection (in category 'do-its') ----- styleSelection
| styler | self lineSelectAndEmptyCheck: [^ '']. + styler := self styler ifNil: [(TextStyler for: #Smalltalk) new]. - styler := self styler ifNil: [(Smalltalk classNamed: #SHTextStylerST80) new]. ^ styler styledTextFor: self selection!
Hi Christoph --
-1
The effect you are looking for seems to be application-specific. Unfortunately, I don't know really good examples from applications outside Squeak. Nesten scroll containers are always a hassle for the user. :-/
You would like to pass on the event to the outer morph if you happen to do nothing with it? Hmm... we have #ignore for event filters ... what about adding #pass like we can in exception handlers? :-)
Best, Marcel
On 2021-07-21T08:52:33+00:00, commits@source.squeak.org wrote:
Marcel Taeumel uploaded a new version of Morphic to project The Trunk: http://source.squeak.org/trunk/Morphic-mt.1777.mcz
==================== Summary ====================
Name: Morphic-mt.1777 Author: mt Time: 21 July 2021, 10:52:27.461807 am UUID: 7889f198-c567-42b5-86b7-6ec550f79355 Ancestors: Morphic-mt.1776
Complements System-mt.1240
=============== Diff against Morphic-mt.1776 ===============
Item was changed: ----- Method: SmalltalkEditor>>styleSelection (in category 'do-its') ----- styleSelection
| styler | self lineSelectAndEmptyCheck: [^ ''].
- styler := self styler ifNil: [(TextStyler for: #Smalltalk) new].
- styler := self styler ifNil: [(Smalltalk classNamed: #SHTextStylerST80) new]. ^ styler styledTextFor: self selection!
squeak-dev@lists.squeakfoundation.org