Change of caret color Dynamically


Hello. I would like to develop a plugin that can dynamically change caret color based on language, for example: when English is enabled, then the caret is blue, if I switch to Russian, then it's red. PrepaidGiftBalance

The question is: do you have an API for dynamically changing the caret color (you do, see comments), and how I can intercept a keyboard layout change (Russian/English) and change the color based on it. Is it even possible?


Please sign in to leave a comment.