🐞Unexpected behaviour when changing themes
Description
When changing the the theme from light to dark and vice versa. The editor uses the text colour expected in the previous theme. So if you were originally in light mode and went to dark mode. The text colour in the new dark mode can be seen as the original light mode text colour.
To Reproduce
- Go to Preferences
- Themes
- Choose light mode (or dark mode, depending on original theme)
- Wrong text colour observed
- Go to another tab (colour issue resolved)
Going from light mode

To dark mode:

Clicking on another tab causes the correct behaviour to be observed:

Expected behavior
Switching from light to dark and vice versa should be instant. No need to switch tabs for themes to update
Version information
CodeEdit: Version 1.0 (1) Hash: 0cfd746f96d1ce6c61e8942b262492aa02a583be MacOS: 12.3.1 Xcode: 13.4.1
Additional context
No response
@thecoolwinter didn't you just fix this or did we miss something?
Yes, this should be fixed. It was a change in CodeEditTextView
Can anyone else replicate this?
I can't replicate this, could you make sure you have the latest version of CodeEditTextView in your project? There's a chance Xcode didn't download the latest version.
I've checked and my forked repo is up to date.
I'm still seeing the same issue.

If anyone else can't replicate this. We can close it for now.
I was able to replicate this but I updated my packages to the latest version, rebuilt and it was resolved. @thecoolwinter fixed this a while ago so I will close this issue. Please not that #714 is still open which is related to this.