1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-03-04 21:32:52 +01:00

Fix formatting

This commit is contained in:
Alex Plate 2021-03-31 10:47:06 +03:00
parent 8f7b609c7c
commit 69a045c144
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F

View File

@ -244,8 +244,11 @@ class SearchRange(pattern: String, offset: Int, move: Boolean) : Range(offset, m
return getRangeLine(editor, editor.caretModel.currentCaret, lastZero)
}
override fun getRangeLine(editor: Editor,
caret: Caret, lastZero: Boolean): Int {
override fun getRangeLine(
editor: Editor,
caret: Caret,
lastZero: Boolean
): Int {
var line = caret.logicalPosition.line
var searchOffset = -1
for (i in patterns.indices) {