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

🐞 Selection highlight overflow is drawn just above bottom viewport edge

austincondiff opened this issue Β· comments

Description

When selecting text beyond the bottom edge (top is fine), the selection highlight is drawn just above the bottom edge.

To Reproduce

  1. Select multiple lines of text
  2. Scroll up so that selection highlight exceeds the bottom edge of the text view viewport.

Expected Behavior

Selection highlight is drawn flush with the bottom edge of the text view viewport.

Version Information

CodeEditTextView: 0.7.0
macOS: 14.0
Xcode: 15.0

Screenshots

image