BaseCaret doesn't use the CARET_COLOR_OVERWRITE_MODE value anymore, it uses CARET_COLOR_INSERT_MODE for insert *and*
This seems to be a regression starting revision 84624 : d8ca6bd84a75 (
See the attached patch which fixes the problem.
PS: I don't take credit for this patch, I'm just posting it here. It's done by Andreea Pitici, a work colleague of mine
from Joseki Bold.
Created attachment 74807 [details]
Use CARET_COLOR_OVERWRITE_MODE in BaseCaret
Thanks for the patch. However there must be a visual setting added into the tools->options as well (currently there's
just 'Caret color').
Indeed I guess there should also something in Tools->Options.
But that doesn't keep the bug from happening when CARET_COLOR_OVERWRITE_MODE is changed programatically. This is how we
found the bug actually.
Miloslav Metelka agreed that he would review and integrate a patch for this issue contributed by the NetFIX  team.
dd9f35712718 - applied the patch and added 'Caret Color (Overwrite mode)' among Tools-Options -> Fonts & Colors ->
Highlights. Thanks for the patch
Integrated into 'main-golden', will be available in build *200910140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Vita Stejskal <email@example.com>
Log: #155143: Adding 'Caret Color (Overwrite mode)' setting and fixing BaseCaret to use it (thanks to Emilian Bold and Andreea Pitici)