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

REPL output uses styling of normal editor #2947

Open
cursive-ide opened this issue Aug 14, 2024 · 1 comment
Open

REPL output uses styling of normal editor #2947

cursive-ide opened this issue Aug 14, 2024 · 1 comment
Labels
bug Marks issues describing bugs
Milestone

Comments

@cursive-ide
Copy link
Owner

Reported by @mpenttila in Slack:

It seems that in 1.13.4 inputs and results in the REPL console window have the background colour of editor windows (i.e. General -> Text -> Default text), not console windows. Previously it used the console background colour. Not a big deal, and in default colour schemes editors and consoles have the same background colour anyway, but just wondering if there would be some way to fix this?

repl

@cursive-ide cursive-ide added the bug Marks issues describing bugs label Aug 14, 2024
@cursive-ide cursive-ide added this to the 1.13.6 milestone Aug 14, 2024
@cursive-ide
Copy link
Owner Author

Hmm, I thought this would be an easy fix, but it's trickier than I thought. The issue is that the Clojure colour scheme contains keys for the various element types, string, symbol, keyword, etc. These inherit values from the closest platform default I could find for each one, but those defaults are based on the editor colour scheme, not the console one. I guess it's not common for program elements to appear in consoles. I don't want to have to define separate colours for everything for when they appear in the REPL, but otherwise it will be difficult to resolve if the user has changed their colour scheme. I'll have to investigate how to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Marks issues describing bugs
Projects
None yet
Development

No branches or pull requests

1 participant