mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-124630 Breakpoint indicators not visible
This commit is contained in:
@@ -83,6 +83,7 @@ import com.intellij.util.ui.ButtonlessScrollBarUI;
|
||||
import com.intellij.util.ui.GraphicsUtil;
|
||||
import com.intellij.util.ui.MacUIUtil;
|
||||
import com.intellij.util.ui.UIUtil;
|
||||
import com.intellij.util.ui.update.Activatable;
|
||||
import com.intellij.util.ui.update.UiNotifyConnector;
|
||||
import gnu.trove.TIntArrayList;
|
||||
import gnu.trove.TIntFunction;
|
||||
@@ -879,9 +880,6 @@ public final class EditorImpl extends UserDataHolderBase implements EditorEx, Hi
|
||||
repaintLines(caretLine, caretLine);
|
||||
}
|
||||
fireFocusGained();
|
||||
if (myGutterNeedsUpdate) {
|
||||
updateGutterSize();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -895,6 +893,15 @@ public final class EditorImpl extends UserDataHolderBase implements EditorEx, Hi
|
||||
}
|
||||
});
|
||||
|
||||
new UiNotifyConnector(myEditorComponent, new Activatable.Adapter(){
|
||||
@Override
|
||||
public void showNotify() {
|
||||
if (myGutterNeedsUpdate) {
|
||||
updateGutterSize();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
try {
|
||||
final DropTarget dropTarget = myEditorComponent.getDropTarget();
|
||||
if (dropTarget != null) { // might be null in headless environment
|
||||
|
||||
Reference in New Issue
Block a user