KodeEditor icon indicating copy to clipboard operation
KodeEditor copied to clipboard

Text color for editor background in CodeEditorLayout

Open spongycode opened this issue 3 years ago • 1 comments

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.

spongycode avatar Jul 12 '21 06:07 spongycode

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 avatar Jul 16 '21 15:07 markusressel