KodeEditor
KodeEditor copied to clipboard
Text color for editor background in CodeEditorLayout
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.
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.