<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Georgia">Not sure if this is the same, but it sounds
similar to something I have experienced in recent squeaks. See
if this helps at all:</font></p>
<p><font face="Georgia">'From Squeak5.1 of 23 August 2016 [latest
update: #16548] on 3 November 2018 at 9:50:50 pm'!<br>
<br>
!TextMorphForEditView methodsFor: 'event handling' stamp: 'raa
11/3/2018 21:50'!<br>
keyStroke: evt<br>
| view |<br>
editView deleteBalloon.<br>
(editView scrollByKeyboard: evt) ifTrue: [^self].<br>
<br>
<br>
[(evt controlKeyPressed <br>
and: [evt commandKeyPressed] <br>
and: [evt keyValue = 28 or: [evt keyValue = 29]]<br>
) ifTrue: [<br>
^self "funky trackpad code scrolls - yecch"<br>
].] on: Error do: [ :ex | ].<br>
<br>
<br>
<br>
self editor model: editView model. "For evaluateSelection"<br>
view := editView. "Copy into temp for case of a
self-mutating doit"<br>
(acceptOnCR and: [evt keyCharacter = Character cr])<br>
ifTrue: [^ self editor accept].<br>
super keyStroke: evt.<br>
view scrollSelectionIntoView.<br>
<br>
"Make a cheap check and guess editing. (Alternative would be
to copy the old contents and then compare them against the new
ones. Maybe add a better hook in the TextEditor."<br>
(self readOnly not and: [evt keyCharacter isAlphaNumeric or:
[evt keyCharacter isSeparator]])<br>
ifTrue: [view textEdited: self contents].! !<br>
</font><br>
</p>
<br>
<div class="moz-cite-prefix">On 11/3/18 5:44 PM, Chris Muller wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADTxDUhYFw5RKYA759njTN7W1W+jJHRUuXqpm+Ljm7dY3+meyg@mail.gmail.com">
<pre wrap="">Hi Eliot and all,
I have just noticed in Squeak 5.2 that attempting to scroll a text
pane beyond its scroll limit causes the text cursor to start moving.
So, for example, when I have a selected expression in the debugger,
and I simply scroll the text pane, I hit the end and lose the
selection, which is incredibly annoying.
Does anyone know why this is and how to fix it?
Thanks
</pre>
</blockquote>
<br>
</body>
</html>