[Qt-creator] minor "bug" in editor

Thorbjørn Lindeijer thorbjorn.lindeijer at nokia.com
Mon Jan 12 13:40:18 CET 2009


ext genacid wrote:
> Hi!
> 
> I noticed a small bug: auto indent always equal 4 spaces for next line after
> function definition though I used two spaces for indention.
> To reproduce bug:
> 1. set indent equal to 2 for example;
> 2. write smth like "void somefunc()" and press Enter - cursor will be shifted
> on four spaces after "void"

It seems to use two indents instead of one, since I've got my 
indentation set to 4 spaces and pressing Enter there yields an 8 spaces 
indent for me.

However, since it will correctly indent when you type the brace, either 
on the same line or on the next, I don't see this being a problem, 
unless I'm missing something.

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Software




More information about the Qt-creator-old mailing list