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

Incorrect "delete/change/yank a/inner" commands with nested parentheses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 2.6.0-rc
    • Qt Creator 2.5.0
    • FakeVim
    • None
    • fd817c675c65da1ad92fa5d0a6bea52c51554eca

      Commands in normal mode like "ci(", "di[", "ca{" etc. don't handle nested parentheses correctly.

      For example the document contains ("_" is text cursor):

      (_ (...) && (...) )
      

      and after "di(":

      (_) && (...) )
      

      expected result is:

      (_)
      

      I've attached possible fix.

        For Gerrit Dashboard: QTCREATORBUG-7632
        # Subject Branch Project Status CR V

            hjk hjk
            lukho Lukas Holecek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes