CodeEditApp / CodeEditSourceEditor

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

(fix:#227) Apply Theme Selection Color #230

Closed thecoolwinter closed 5 months ago

thecoolwinter commented 5 months ago

Description

Fixes some theme colors not applying when the editor is first opened.

Moved configuration to 3 methods, one for the textview, gutter, and scroll view respectively. These functions are used in both the reloadUI and loadView methods to ensure it's consistent in both initial loads and reloading.

Related Issues

Checklist

Screenshots

https://github.com/CodeEditApp/CodeEditSourceEditor/assets/35942988/71ea08df-c44c-425f-8cdb-280fd693f56b