EA-509798 lst: add debug logging

GitOrigin-RevId: d984a0cb04ca4f739bfcdc460f31c7f6d3a8fc71
This commit is contained in:
Aleksey Pivovarov
2024-03-28 19:32:29 +00:00
committed by intellij-monorepo-bot
parent 6286826a0b
commit 58c3773190
@@ -16,6 +16,7 @@ import com.intellij.openapi.editor.ex.MarkupModelEx
import com.intellij.openapi.editor.ex.RangeHighlighterEx
import com.intellij.openapi.editor.impl.DocumentMarkupModel
import com.intellij.openapi.editor.markup.*
import com.intellij.openapi.progress.ProcessCanceledException
import com.intellij.openapi.project.Project
import com.intellij.openapi.util.Disposer
import com.intellij.openapi.util.Key
@@ -103,8 +104,16 @@ abstract class LineStatusMarkerRenderer internal constructor(
scheduleValidateHighlighter()
}
repaintGutter()
updateErrorStripeHighlighters()
try {
repaintGutter()
updateErrorStripeHighlighters()
}
catch (e: ProcessCanceledException) {
throw e
}
catch (e: Throwable) {
throw RuntimeException("Error in $this", e)
}
}
private fun repaintGutter() {