Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text Editor won't update syntax highligthing when Text Editor theme changes #98367

Closed
ghost opened this issue Oct 20, 2024 · 0 comments · Fixed by #100451
Closed

Text Editor won't update syntax highligthing when Text Editor theme changes #98367

ghost opened this issue Oct 20, 2024 · 0 comments · Fixed by #100451

Comments

@ghost
Copy link

ghost commented Oct 20, 2024

Tested versions

Reproducible in v4.4.dev3.official [f4af820]

System information

Godot v4.4.dev3 - Fedora Linux 40.20241020.0 (Silverblue) on Wayland - X11 display driver, Single-window, 1 monitor - Vulkan (Forward+) - dedicated AMD Radeon RX 570 Series (RADV POLARIS10) - Intel(R) Core(TM) i3-10100F CPU @ 3.60GHz (8 threads)

Issue description

Issue seems to have similar cause as my older issues, like #89534.
When changing Text Editor theme, syntax highlighting won't update until I will type something (for example, spacebar).

2024-10-20.21-10-05.webm

Steps to reproduce

  1. Open script.
  2. Open Editor settings.
  3. Change text_editor/theme/color_theme to any theme.
  4. Close settings window.
  5. Observe that syntax highlighting still uses colors from previous theme.
  6. Input anything in script (for example, spacebar).
  7. Syntax highlighting will be updated for correct colors.

Minimal reproduction project (MRP)

Any project with opened script in Text Editor.
text_editor_highlighting_wont_update.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants