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

🐞 Text view does not handle inactive state

austincondiff opened this issue · comments

Description

When window or pane is inactive, the textview does not handle inactive state.

  • Insertion point should be hidden
  • Selection background if any should change color to a more gray color

To Reproduce

  1. Click out of window so it is inactive
  2. Notice insertion point is still visible or text selection background color is still the same

Expected Behavior

When inactive (either the window or the instance of the text view not in focus if there are multiple present), the insertion point should be hidden and the text selection background color should be more gray (see Xcode for reference)

Version Information

CodeEditTextView: 0.7.0
macOS: 14.0
Xcode: 15.0

Screenshots

CodeEdit

Screenshot 2023-12-20 at 11 38 09 PM image image

Xcode

image image Screenshot 2023-12-20 at 11 44 49 PM