LLM-12228 Stick the popup to the top of the editor

- Doc updated

GitOrigin-RevId: 7a17e6f79a5ac8015a50df250d619570c21243de
This commit is contained in:
Pavel Porvatov
2024-10-28 20:50:17 +00:00
committed by intellij-monorepo-bot
parent a6b54ef5ae
commit 874d716d2a
@@ -5888,7 +5888,7 @@ public final class EditorImpl extends UserDataHolderBase implements EditorEx, Hi
Rectangle r = getBounds();
for (Component c : components) {
if (c instanceof JScrollPane || isCustomLayer(c)) {
// Main scroll panel: MyScrollPane
// Custom layers or main scroll panel (MyScrollPane) occupy whole area
c.setBounds(0, 0, r.width, r.height);
}
else if (c instanceof EditorFloatingToolbar){