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:
parent
4d46af3224
commit
2eb185aa9d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user