forked from qt-creator/qt-creator
C++ code style: Improve tooltip.
Change-Id: Ib71e3b87bd07292b0aecdbec7ebfb1fcd0efea7e Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
This commit is contained in:
committed by
Jarek Kobus
parent
2f58fb95bc
commit
09f56a5c0d
@@ -357,7 +357,9 @@ a = a +
|
|||||||
<widget class="QCheckBox" name="extraPaddingConditions">
|
<widget class="QCheckBox" name="extraPaddingConditions">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string><html><head/><body>
|
<string><html><head/><body>
|
||||||
The extra padding usually only affects if statement conditions. Without extra padding:
|
Adds an extra level of indentation to multiline conditions in the switch, if, while and foreach statements if they would otherwise have the same or less indentation than a nested statement.
|
||||||
|
|
||||||
|
For four-spaces indentation only if statement conditions are affected. Without extra padding:
|
||||||
<pre>
|
<pre>
|
||||||
if (a &&
|
if (a &&
|
||||||
b)
|
b)
|
||||||
|
Reference in New Issue
Block a user