[command-completion] IDEA-381534 Some fixes are unavailable after closed brackets

(cherry picked from commit 35af82906d71920156cfb6a01c84e5d23f55feef)

IJ-CR-180941

GitOrigin-RevId: 265c993a01490aab1e402c7ec355c21b8d63e212
This commit is contained in:
Mikhail Pyltsin
2025-11-06 09:07:44 +00:00
committed by intellij-monorepo-bot
parent 815ab749c5
commit 7a47ea93ef
@@ -241,7 +241,7 @@ internal class DirectIntentionCommandProvider : CommandProvider {
val profileToUse = getInstance(psiFile.project).getCurrentProfile()
val inspectionWrapper = InspectionProfileWrapper(profileToUse)
val inspectionTools = getInspectionTools(inspectionWrapper, originalFile)
val lineRange = getLineRange(topLevelFile, currentOffset)
val lineRange = getLineRange(topLevelFile, topLevelCurrentOffset)
val indicator = EmptyProgressIndicator()
val inspectionResult = jobToIndicator(coroutineContext.job, indicator) {
if (!isInjected) {