[Cuis-dev] [FIX] --- browser can't scroll to the bottom of methods

Andres Valloud ten at smallinteger.com
Sat Dec 25 22:36:43 PST 2021


Hi, without this change, browsers may not be able to scroll to the very 
last line of methods that don't fit in the code pane.

Andres.
-------------- next part --------------
'From Cuis 5.0 [latest update: #5004] on 25 December 2021 at 10:35:19 pm'!

!InnerTextMorph methodsFor: 'private' stamp: 'sqr 12/25/2021 22:34:40'!
updateFromTextComposition
	"A change has taken place in my textComposition, as a result of editing and I must be updated. "

	textComposition ifNotNil: [
		editor storeSelectionInComposition.
		self fit.
		needsFit _ false].

	(owner is: #ScrollPane) ifTrue: [
		owner
			updateScrollBarsBounds;
			setScrollDeltas ].! !



More information about the Cuis-dev mailing list