mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-15 20:26:04 +07:00
Use `DelegateColorScheme` because it's the only way to update it (see `EditorImpl.MyColorSchemeDelegate#updateGlobalScheme`). Also, `DelegateColorScheme` isn't unwrapped in `setColorsScheme`; only `MyColorSchemeDelegate` is unwrapped there, so the comment was adjusted to reflect it. To solve a chicken-and-the-egg problem, unwrapping is now performed in `DefaultNotebookEditorAppearance`: we need non-delegate there because a delegated scheme may contain old color value. (cherry picked from commit d8eeb8a6505a0e7620a36dbfab78566d5855d9f5) IJ-MR-158455 GitOrigin-RevId: f92f25bfc19deec2a3b85fac17f6e8ecd1511efc