CodeEditApp / CodeEditSourceEditor

A code editor view written in Swift powered by tree-sitter.
https://codeeditapp.github.io/CodeEditSourceEditor/documentation/codeeditsourceeditor
MIT License
510 stars 78 forks source link

🐞 Pasted text uses wrong color (black) in dark mode #104

Closed foss- closed 1 year ago

foss- commented 1 year ago

Description

Pasted text is black despite using dark mode.

To Reproduce

  1. open new CodeEdit window
  2. paste some text

Expected behavior

Text should be white on dark background but is black.

Version information

CodeEdit: 1.0 (1) macOS: 13.1

Additional context

1

lukepistrol commented 1 year ago

Duplicate of #99

foss- commented 1 year ago

Sorry for bothering about this again. This was set to duplicate of #99 which got resolved by https://github.com/CodeEditApp/CodeEditTextView/pull/114.

For me on macOS 13.2.1 and CodeEdit 0.0.3-alpha (30) the issue with pasted text being black in dark mode however remains when pasting text:

https://user-images.githubusercontent.com/5708172/225776398-b51c59ff-8c55-438f-be98-65e2b0eed8c8.mov

If I am missing something, feel free to close this again.

foss- commented 1 year ago

Not sure what change resolved this problem, but it is gone in Version 0.0.3-alpha (32). Closing.