> On 15. Feb 2018, at 23:20, Benjamin TERRIER <[email protected]> wrote:
> 
> 2018-02-15 19:35 GMT+01:00 Nikos Chantziaras <[email protected]>:
>> On 15/02/18 13:59, Benjamin TERRIER wrote:
>>> 
>>> 2018-02-15 12:03 GMT+01:00 Dmitry Volosnykh <[email protected]>:
>>>> 
>>>> Hi, Benjamin
>>>> 
>>>> Tools menu / Options menu item / Text Editor entry in the list on the
>>>> left /
>>>> Behaviour tab / Cleanups Upon Saving control group
>>>> 
>>> 
>>> I know about this, I even talk about this in my email.
>>> 
>>> My concern is about the auto indent function (Right Click >
>>> Auto-indent Selection)
>> 
>> 
>> If you don't save the file after auto-indenting it, then how did you end up
>> with spaces in empty lines unless you didn't enable cleanup-on-save?
> 
> Again, I am not asking about the "cleanup on save" feature.
> And I never said I ended up with spaces on empty lines *after* saving the 
> file.
> 
> I am asking if there is a way to configure the auto-indent feature so
> that it does not
> generate extra spaces on empty lines.

It should definitely not add extra spaces on empty lines. That sounds very much 
like a bug to me. Probably one that no one found because of the clean-on-save 
feature, but still.
Please --> https://bugreports.qt.io

Br, Eike

> The fact that the "cleanup on save" feature, when enabled (with or
> without the clean indent option
> checked), needs to clean up what the auto indent feature just did,
> just proves that as-is
> the auto-indent feature is bugged (if not configurable).
> 
> I do not expect the auto-indent feature to add whitespaces that need
> to be cleaned.
> I would rather expect the "cleanup on save" and auto indent features to 
> produce,
> or at least try to produce, the same result.
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
[email protected]
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to