Retype: Log post caret completions

This commit is contained in:
Alex Plate
2018-11-29 12:49:36 +03:00
parent 04d2e0eeb6
commit 1adb714f92
@@ -357,6 +357,7 @@ class RetypeSession(
document.replaceString(pos, pos + docIndexOfFirstComp, replacement)
}
}
(pos until pos + origIndexOfFirstComp + firstCompletion.length).forEach { log.recordCompletion(document.text[it]) }
pos += origIndexOfFirstComp + firstCompletion.length
editor.caretModel.moveToOffset(pos)
completionStack.removeLast()