mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-05-10 21:34:06 +02:00
Fix incorrect condition in getting the actual text in command line
This commit is contained in:
parent
e257a10525
commit
4cf7685aaf
@ -52,7 +52,7 @@ interface VimCommandLine {
|
||||
get() {
|
||||
val promptCharacterOffset1 = promptCharacterOffset
|
||||
return if (promptCharacterOffset1 == null) visibleText else {
|
||||
if (promptCharacterOffset1 >= visibleText.length) {
|
||||
if (promptCharacterOffset1 > visibleText.length) {
|
||||
logger.error("promptCharacterOffset1 >= visibleText.length: $promptCharacterOffset1 >= ${visibleText.length}")
|
||||
visibleText
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user