Small request for CodeEditorComponent


#1

Hi,
I have a small request/suggestion for CodeEditorComponent. Would it be possible to expose setting the caret colour, perhaps through the Colourids? Currently if the background colour is dark it is impossible to see the caret and since the CaretComponent is private there is no easy way to deal with this. Thanks.


#2

You can use CaretComponent::caretColourId


#3

Yes, but the CaretComponent is private in CodeEditorComponent so I can’t reference the CaretComponent in my subclass.


#4

You don’t need to - just set the colour in the lookandfeel.