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

Visual block insert strips indentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.12.1
    • FakeVim
    • None
    • Linux/X11

    Description

      I assumed this was a known and low-priority issue, but today it annoyed me enough to look into it, and if I understand correctly (fakevimhandler.cpp:2634 or so) the indentation is stripped on purpose. This and the fact that I couldn't find any open issue for this made me realize I'm probably doing indentation wrong.

      What's the best way to fix this? What breaks if I just remove that indentation stripping? Or does it make sense to special case "someone inserted just white space in visual block insert mode"?

      Attachments

        Activity

          People

            hjk hjk
            sandsmark Martin Sandsmark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: