1
0
mirror of https://github.com/chylex/IntelliJ-Inspection-Lens.git synced 2025-05-05 20:34:08 +02:00

Disable soft wrapping of inspection inlays

This commit is contained in:
chylex 2022-07-08 00:37:46 +02:00
parent 4d46af3224
commit 2eb185aa9d
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548

View File

@ -43,7 +43,7 @@ class EditorInlayLensManager private constructor(private val editor: Editor) {
else {
val offset = getInlayHintOffset(info)
val renderer = LensRenderer(info)
val properties = InlayProperties().relatesToPrecedingText(true).priority(-offset)
val properties = InlayProperties().relatesToPrecedingText(true).disableSoftWrapping(true).priority(-offset)
editor.inlayModel.addAfterLineEndElement(offset, properties, renderer)?.let {
inlays[highlighter] = it