mirror of
https://github.com/chylex/IntelliJ-Inspection-Lens.git
synced 2025-05-25 17:34:06 +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 {
|
else {
|
||||||
val offset = getInlayHintOffset(info)
|
val offset = getInlayHintOffset(info)
|
||||||
val renderer = LensRenderer(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 {
|
editor.inlayModel.addAfterLineEndElement(offset, properties, renderer)?.let {
|
||||||
inlays[highlighter] = it
|
inlays[highlighter] = it
|
||||||
|
Loading…
Reference in New Issue
Block a user