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

Editor breaks lines at no-break spaces and joiners

    XMLWordPrintable

Details

    • Linux/X11
    • aee78bd58db609efc729cf883e91049e0e342049 (qt-creator/qt-creator/4.11)

    Description

      Open the test.cpp attachment in Qt Creator and attempt to rewrap the paragraphs. The first two contain no-break spaces and Qt Creator should not break at them, but does. Attempting the same wrapping in Emacs (c-fill-paragraph) properly breaks at the real spaces before "tone".

      Emacs does not break at the zero-width examples below and neither does Qt Creator.

      Use-case: write things like "4 kB" such that the 4 and the k aren't separated into multiple lines.

      Attachments

        Issue Links

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

          Activity

            People

              davschul David Schulz
              thiago Thiago Macieira
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes