1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-07-29 16:59:01 +02:00

Add comment about the fix for project leak in tests

This commit is contained in:
Alex Plate 2024-03-28 10:30:19 +02:00
parent ab75ace8db
commit 8c1103c461
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F

View File

@ -90,6 +90,8 @@ private fun Editor.updatePrimaryCaretVisualAttributes() {
// Make sure the caret is visible as soon as it's set. It might be invisible while blinking
// NOTE: At the moment, this causes project leak in tests
// IJPL-928 - this will be fixed in 2024.2
// [VERSION UPDATE] 2024.2 - remove if wrapping
if (!ApplicationManager.getApplication().isUnitTestMode) {
(this as? EditorEx)?.setCaretVisible(true)
}