mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-03-07 03:32:51 +01:00
[EA-117268 5135780] Fix OOBE for display ascii info
This commit is contained in:
parent
6e81714937
commit
b2af829e2e
@ -246,7 +246,9 @@ public class FileGroup {
|
||||
|
||||
public void displayAsciiInfo(@NotNull Editor editor) {
|
||||
int offset = editor.getCaretModel().getOffset();
|
||||
char ch = editor.getDocument().getCharsSequence().charAt(offset);
|
||||
CharSequence charsSequence = editor.getDocument().getCharsSequence();
|
||||
if (charsSequence.length() == 0 || offset >= charsSequence.length()) return;
|
||||
char ch = charsSequence.charAt(offset);
|
||||
|
||||
VimPlugin.showMessage("<" +
|
||||
StringHelper.toKeyNotation(KeyStroke.getKeyStroke(ch)) +
|
||||
|
Loading…
Reference in New Issue
Block a user