[Qt-creator] alignment with raw string while streaming

Orgad Shaneh orgads at gmail.com
Wed May 7 17:44:46 CEST 2014


On Wed, May 7, 2014 at 6:06 PM, Cristian Tibirna <tibirna at kde.org> wrote:

> Hello
>
> (NOTE: fixed font preferred)
>
> If I write:
>
> std::cout << "Some prefix"
>           << some_variable
>           << "some filling"
>           << some_other_variable
>           << "some suffix\n";
>
> I'd expect that the piping operators be aligned in a column (as
> exemplified above).
>
> What I get is alignment to the leftmost quote from the line above, when
> the line above ends with a raw string, like this:
>
> std::cout << "Some prefix"
>              << some_variable
>              << "some filling"
>                 << some_other_variable
>                 << "some suffix\n";
>
> Is this known/intended? (no relevant info in Jira for "align string").
>
> Thanks.
>
> --
> Cristian Tibirna
> KDE developer .. tibirna at kde.org .. http://www.kde.org
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>

Hi,

That's QTCREATORBUG-12053<https://bugreports.qt-project.org/browse/QTCREATORBUG-12053>
.

It's not intentional. Broken by aeb2cfbc4fe7685550fb6b10ef7146c98c19e821.
I'll try to fix it.

- Orgad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140507/7af11240/attachment.html>


More information about the Qt-creator mailing list