void (ColorKey key, Color color) { if (color == AbstractColorsScheme.INHERITED_COLOR_MARKER) { myOwnColors.remove(key); } else { myOwnColors.put(key, color); } // These two are here because those attributes are cached // and I do not want the clients to call editor's reinit settings in this case. myCaretModel.reinitSettings(); mySelectionModel.reinitSettings(); }