PyCrust / StyledTextCtrl

Hello John,

from the docs at http://www.yellowbrain.com/stc/index.html

"""
SetCaretForeground(fore)

Sets the foreground color of the caret. The parameter fore is a
wxColour object, a #RRGGBB string, or a color spec like "white".
Returns None.
"""
you can test it directly in Pycrust, when you type:

shell.SetCaretForeground (wx.WHITE)

···

--
Franz Steinhaeusler