Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26144

退出 FakeVim 时不能正确处理光标

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.15.2
    • FakeVim
    • None
    • Windows

    Description

      临时关闭(不是禁用插件) FakeVim 后光标还保留 FakeVim 模式时的方块的样式,这时候输入的话,会覆盖光标下字符,而不是正常的在当前位置追加字符。

      按下 insert 键,光标变回闪烁的"|",接下来输入的第一个字符会是正常的追加字符,然后光标又变成闪烁的方块,输入也又回到覆盖模式了。

      重启可以恢复正常,但是有概率再出现。

      Translation:

      When FakeVim is temporarily closed (not to disable the plug-in), the cursor still retains the square style in FakeVim mode. At this time, input will cover the characters under the cursor instead of adding characters to the current position normally.

      Press the insert key, the cursor changes back to a flashing "|", the first character you enter will be a normal additional character, and then the cursor changes to a flashing square, and the input returns to the overwrite mode.

      Restart can return to normal, but there is a probability that it will appear again.

      Another phenomenon that accompanies this problem is that the automatic code prompt function will fail, and you must press ctrl+space to pop up a prompt; at this time, there are also problems with code completion. For example, when the left parenthesis is entered, the right parenthesis is automatically added, but the input is closed The matching closing parenthesis will not be skipped, but the closing parenthesis will be added.

      I don't know the reason, it's a bug, right?

      伴随着这个问题出现的另一个现象是代码自动提示功能会失效,必须按 ctrl+space 才会弹出提示;此时代码补全也有问题,比如输入左括号时自动添加了右括号,但是在输入闭合的右括号时不会跳过匹配的右括号,而是又添加了右括号。

      不知道啥原因,是 bug 吧?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            hereis00 Lin Lin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes