From 9b12e25cfab2461c4fc3eed78c9534d1fe647f3d Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Mon, 24 Jun 2019 15:03:15 +0200 Subject: [PATCH] [java] exit point highlighting for yields (IDEA-CR-48919) GitOrigin-RevId: d8b4687e331744d40c254ee261ffd12163d0f640 --- .../HighlightBreakOutsHandler.java | 15 +++++++++++--- .../HighlightExitPointsHandlerFactory.java | 20 +++---------------- 2 files changed, 15 insertions(+), 20 deletions(-) diff --git a/java/java-impl/src/com/intellij/codeInsight/highlighting/HighlightBreakOutsHandler.java b/java/java-impl/src/com/intellij/codeInsight/highlighting/HighlightBreakOutsHandler.java index a81066a2e899..7017cf879149 100644 --- a/java/java-impl/src/com/intellij/codeInsight/highlighting/HighlightBreakOutsHandler.java +++ b/java/java-impl/src/com/intellij/codeInsight/highlighting/HighlightBreakOutsHandler.java @@ -1,4 +1,4 @@ -// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInsight.highlighting; import com.intellij.openapi.editor.Editor; @@ -26,6 +26,7 @@ public class HighlightBreakOutsHandler extends HighlightUsagesHandlerBase targets, Consumer> selectionConsumer) { selectionConsumer.consume(targets); } @@ -49,6 +50,13 @@ public class HighlightBreakOutsHandler extends HighlightUsagesHandlerBase