Small request for CodeEditorComponent


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.


You can use CaretComponent::caretColourId


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


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