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

Log about new shape of caret

This commit is contained in:
Alex Plate 2019-07-17 13:26:09 +03:00
parent b56c82cefb
commit c263881586
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F

View File

@ -1754,7 +1754,7 @@ public class ChangeGroup {
}
private static void resetCaret(@NotNull VirtualFile virtualFile, Project proj, boolean insert) {
logger.debug("resetCaret");
logger.info("Reset caret to a " + (insert ? "non-block" : "block") + " shape");
Document doc = FileDocumentManager.getInstance().getDocument(virtualFile);
if (doc == null) return; // Must be no text editor (such as image)
Editor[] editors = EditorFactory.getInstance().getEditors(doc, proj);