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

Colors in completion windows #74

Open
holgerschlegel opened this issue May 26, 2020 · 1 comment
Open

Colors in completion windows #74

holgerschlegel opened this issue May 26, 2020 · 1 comment
Assignees

Comments

@holgerschlegel
Copy link

The colors (and maybe fonts) of ui elements in the auto completion (popup window and description window) should be configurable to match those of the RSyntaxTextArea the auto completion is installed to.

From what I see it is especially the cell renderer in the completion popup that uses some hard coded colors that can't be changed without creating a subclass. And those hard coded colors does not fit well (in my opinion) if an alternative theme (like the Eclipse one) is used for the RSyntaxTextArea.

I assume that this library and the one containing the RSyntaxTextArea should not required each other. So it might be not possible to automatically take over the colors from the text area or add easy to use support to its Theme class.
At least the corresponding classes should be changed in a way that the colors can be set without creating subclasses. That way colors can be manually set from the theme applied to the RSyntaxTextArea.

And it would be nice if the description window would apply the same formating (fonts and colors) to the description line (or whatever the first block is called) than the popup window cell renderer.

@holgerschlegel
Copy link
Author

I just found the methods to set the parameter and type colors of the cell renderer. So that part of by request is already implemented and can be ignored.
So what remains is a simular colorization in the description windows.

@bobbylight bobbylight self-assigned this Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants