Marcel Taeumel uploaded a new version of Morphic to project The Trunk: http://source.squeak.org/trunk/Morphic-mt.2119.mcz
==================== Summary ====================
Name: Morphic-mt.2119 Author: mt Time: 3 August 2023, 11:30:37.95454 am UUID: 5d37be07-9bb1-7d4c-8cf2-128b2b28f9e3 Ancestors: Morphic-mt.2118
Complement Morphic-mt.2118
Fixes the recent regression and the other one introduced by the quickfix for the first one.
You can now (again): - Click below the text lines to change keyboard focus (i.e., in a fresh workspace window) - Click below the method template (in a code browser/editor) for not discarding the current text selection but immediately start typing.
All these things are not relevant or noticable when you have #mouseOverForKeyboardFocus enabled.
=============== Diff against Morphic-mt.2118 ===============
Item was changed: ----- Method: TextMorph>>mouseDown: (in category 'event handling') ----- mouseDown: evt "Make this TextMorph be the keyboard input focus, if it isn't already, and repond to the text selection gesture." evt yellowButtonPressed ifTrue: [ "First check for option (menu) click" ^ self yellowButtonActivity: evt shiftPressed].
"Show the caret immediately on mouse down to give user feedback." self resetBlinkCursor.
"If focus does not follow the mouse cursor and we click below everything, just grab the focus to not destroy the selection." ((self hasKeyboardFocus: evt hand) not and: [(self bounds containsPoint: evt position) not]) ifTrue: [ evt hand newKeyboardFocus: self. + evt hand newMouseFocus: nil. "Do not deliver mouseUp:."] - self - handleInteraction: [self mouseEnter: evt. editor mouseDown: evt] - fromEvent: evt] ifFalse: [ evt hand newKeyboardFocus: self. self handleInteraction: [self mouseEnter: evt. editor mouseDown: evt] fromEvent: evt].!
packages@lists.squeakfoundation.org