CodeEditApp / CodeEditTextView

A text editor specialized for displaying and editing code documents. Written in pure Swift.

Home Page:https://codeeditapp.github.io/CodeEditTextView/documentation/codeedittextview/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐞 When selecting text with keyboard, scroll is not updated properly

austincondiff opened this issue · comments

Description

If selecting text beyond bottom of the text view viewport with ⇧▾, the scroll isn't immediately adjusted to show the bottom of the selected text until selected a few more lines after that point.

To Reproduce

  1. Select some text beyond the bottom of the viewport with ⇧▾.
  2. Notice scroll position isn't updated until pressing it a few more times.

Expected Behavior

The scroll should be update after the partial or complete line below the viewport is selected.

Version Information

CodeEditTextView: 0.7.0
macOS: 14.0
Xcode: 15.0