Added setCaretFore and setCaretStyle.