[debugger] IJPL-194905 Islands: fix the debugger watch editor

Apply the relevant customization to the root of the editor hierarchy.


(cherry picked from commit 018703f855a953e2b71c22f8901e31688337cda6)

IJ-CR-179277

GitOrigin-RevId: 71779142629dbeda7ff2bf0c840813094e644046
This commit is contained in:
Sergei Tachenov
2025-10-22 12:27:19 +00:00
committed by intellij-monorepo-bot
parent fc7d863a50
commit 5adc0db540
@@ -7,6 +7,7 @@ import com.intellij.openapi.Disposable;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.ModalityState;
import com.intellij.openapi.application.ReadAction;
import com.intellij.openapi.application.impl.InternalUICustomization;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.ex.EditorEx;
@@ -63,6 +64,10 @@ public class XDebuggerExpressionComboBox extends XDebuggerEditorBase {
initEditor(showEditor, languageInside);
fillComboBox();
myComponent = JBUI.Panels.simplePanel().addToTop(myComboBox);
var customization = InternalUICustomization.getInstance();
if (customization != null) {
customization.installEditorBackground(myComponent);
}
setExpression(myExpression);
}