Commit 078a9cbb authored by Alexander Lobas's avatar Alexander Lobas Committed by intellij-monorepo-bot
Browse files

IDEA-252274 [Find in Files]: Scope background is lost for the line under the hovered one

GitOrigin-RevId: 4431ce1633cad51fb88f8d1c8829f0b115f42bd5
parent a086f880
Showing with 2 additions and 0 deletions
+2 -0
......@@ -103,6 +103,7 @@ import java.util.regex.PatternSyntaxException;
import static com.intellij.openapi.actionSystem.IdeActions.ACTION_OPEN_IN_RIGHT_SPLIT;
import static com.intellij.ui.SimpleTextAttributes.LINK_PLAIN_ATTRIBUTES;
import static com.intellij.ui.SimpleTextAttributes.STYLE_PLAIN;
import static com.intellij.ui.render.RenderingUtil.PAINT_HOVERED_BACKGROUND;
import static com.intellij.util.FontUtil.spaceAndThinSpace;
public class FindPopupPanel extends JBPanel<FindPopupPanel> implements FindUI {
......@@ -666,6 +667,7 @@ public class FindPopupPanel extends JBPanel<FindPopupPanel> implements FindUI {
myResultsPreviewTable.getSelectionModel().setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
myResultsPreviewTable.setShowGrid(false);
myResultsPreviewTable.setIntercellSpacing(JBUI.emptySize());
myResultsPreviewTable.putClientProperty(PAINT_HOVERED_BACKGROUND, false);
new DoubleClickListener() {
@Override
protected boolean onDoubleClick(@NotNull MouseEvent event) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment