IDEA-151284 Target element popup: Weird tiny frame around selected item

This commit is contained in:
Sergey Malenkov
2016-02-08 20:47:03 +03:00
parent cafd224467
commit b887d68484
2 changed files with 3 additions and 1 deletions
@@ -26,6 +26,7 @@ import com.intellij.openapi.editor.markup.EffectType;
import com.intellij.openapi.editor.markup.TextAttributes;
import com.intellij.openapi.ui.popup.PopupChooserBuilder;
import com.intellij.openapi.util.Iconable;
import com.intellij.openapi.util.registry.Registry;
import com.intellij.openapi.vcs.FileStatus;
import com.intellij.openapi.vcs.FileStatusManager;
import com.intellij.openapi.vfs.VirtualFile;
@@ -54,7 +55,7 @@ public abstract class PsiElementListCellRenderer<T extends PsiElement> extends J
private static final String LEFT = BorderLayout.WEST;
private Matcher myMatcher;
private boolean myFocusBorderEnabled = true;
private boolean myFocusBorderEnabled = Registry.is("psi.element.list.cell.renderer.focus.border.enabled");
protected int myRightComponentWidth;
protected PsiElementListCellRenderer() {
@@ -264,6 +264,7 @@ vcs.executable.validator.timeout.sec=60
psi.incremental.reparse.depth.limit=1000
psi.deferIconLoading=true
psi.track.invalidation=true
psi.element.list.cell.renderer.focus.border.enabled=false
ide.suggest.file.when.creating.filename.like.directory=true
ide.suggest.file.when.creating.filename.like.directory.description=When creating a directory named foo.txt, suggest to create a file with such a name instead