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 color for editor background in CodeEditorLayout #45

Open
spongycode opened this issue Jul 12, 2021 · 1 comment
Open

Text color for editor background in CodeEditorLayout #45

spongycode opened this issue Jul 12, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@spongycode
Copy link

How to change the text color for the background text in the CodeEditorLayout?

By default, it's black in color.
I have tried android:textColor="@color/white" but its not working.

Maybe something like app:ke_editor_textColor similar to app:ke_lineNumbers_textColor can help in this.

@markusressel
Copy link
Owner

Sorry for the delay in response, I forgot to write an answer.

Currently there is no way to change the default text color, and its a good idea to add that.
If you feel adventurous, you could achieve the desired effect by using a highlighter with an appropriately configured theme.
I never really intended to use KodeEditor without a syntax highlighter set, but it should be easy to add this.

@markusressel markusressel added the enhancement New feature or request label Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants