You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not unusual for a NSTextView to place the insertion point (selectedRange) at the end of the document when you set its string to a new value. Usually, it doesn't scroll down there, though. Depending on the use case, this might not be desirable.
I figure this is due to the fixInsertionPointPosition() call which is there to do just that: re-set the selectedRange to make the view scroll and/or forceLayoutWithNewInsets().
The text was updated successfully, but these errors were encountered:
It's not unusual for a NSTextView to place the insertion point (
selectedRange
) at the end of the document when you set itsstring
to a new value. Usually, it doesn't scroll down there, though. Depending on the use case, this might not be desirable.I figure this is due to the
fixInsertionPointPosition()
call which is there to do just that: re-set theselectedRange
to make the view scroll and/orforceLayoutWithNewInsets()
.The text was updated successfully, but these errors were encountered: