The highlighted error regarding the 'First line of the body expression` displays the caret at the wrong position. It should have shown the caret at the end of line 1. This problem only occurrs when the violation is preceded by certain other violations that can be autocorrected by ktlint.
Given code below:
with
.editorconfig
:shows following violations:![Screenshot 2023-12-19 at 17 16 04](https://github.com/nbadal/ktlint-intellij-plugin/assets/5195292/d223c96d-74e8-4177-a78e-d0884142c0d6)
The highlighted error regarding the 'First line of the body expression` displays the caret at the wrong position. It should have shown the caret at the end of line 1. This problem only occurrs when the violation is preceded by certain other violations that can be autocorrected by ktlint.