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

Text Editor: "Rewrap Paragraph" removes quote characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 12.0.1
    • Editors
    • Linux/X11

      When abusing "Rewrap Paragraph" to wrap code, quote characters are removed for some reason. Steps to reproduce:

      On

      static constexpr auto enumNames[] = {
      
          "EditClear"_L1,
          "EditCopy"_L1,
          "EditCut"_L1,
          "EditDelete"_L1,
          "EditFind"_L1,
          "EditFindReplace"_L1,
          "EditPaste"_L1,
          "EditRedo"_L1,
          "EditSelectAll"_L1,
      
      };
      

      Choose "Rewrap Paragraph", resulting in

      "EditClear"_L1, EditCopy"_L1, EditCut"_L1, EditDelete"_L1, EditFind"_L1,
          "EditFindReplace"_L1, EditPaste"_L1, EditRedo"_L1, EditSelectAll"_L1,
      

      Note some leading quotes disappeared.

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

            davschul David Schulz
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes