From 09f56a5c0d1b0bfb92f273e2ae250a640fc71ffc Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Tue, 22 Nov 2011 14:37:19 +0100 Subject: [PATCH] C++ code style: Improve tooltip. Change-Id: Ib71e3b87bd07292b0aecdbec7ebfb1fcd0efea7e Reviewed-by: Jarek Kobus --- src/plugins/cpptools/cppcodestylesettingspage.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/cpptools/cppcodestylesettingspage.ui b/src/plugins/cpptools/cppcodestylesettingspage.ui index 0946e9ab7f3..0ca280a2f43 100644 --- a/src/plugins/cpptools/cppcodestylesettingspage.ui +++ b/src/plugins/cpptools/cppcodestylesettingspage.ui @@ -357,7 +357,9 @@ a = a + <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> if (a && b)