Files
openide/notebooks
Ilya Muradyan 8f6d5ab5d3 PY-78919, KTNB-954: Fix color scheme change
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
2025-03-27 13:40:46 +00:00
..