I'm new to IDEA plugin development and I'm writing a plugin that would benefit from knowing what color a given character in an editor is. I can't seem to find a way to do this - is there one, either in the open API or in idea.jar?
Also, I can't find a way to add a listener for when code is folded or unfolded. Do I need to poll for changes?
Thanks to anyone who can help me.