mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
no highlighting, fix only: check range included (IDEA-191254)
This commit is contained in:
@@ -415,7 +415,7 @@ public class ShowIntentionsPass extends TextEditorHighlightingPass {
|
||||
super.registerProblem(problemDescriptor);
|
||||
if (problemDescriptor instanceof ProblemDescriptorBase) {
|
||||
final TextRange range = ((ProblemDescriptorBase)problemDescriptor).getTextRange();
|
||||
if (range != null && range.contains(offset)) {
|
||||
if (range != null && range.containsOffset(offset)) {
|
||||
final QuickFix[] fixes = problemDescriptor.getFixes();
|
||||
if (fixes != null) {
|
||||
for (int k = 0; k < fixes.length; k++) {
|
||||
|
||||
Reference in New Issue
Block a user