diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2010-09-14 12:39:36 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2010-09-14 12:41:19 +0200 |
commit | bbc4a5f5809d9fea56202b3c2dd5a0c401446946 (patch) | |
tree | a6d6a82bd4e8941cfe5a44156d23adb0ea8c822c /src/plugins/texteditor/behaviorsettingspage.ui | |
parent | 9caecbaefff0a00938e5670b0e748fe00716ad9f (diff) |
C++ indenter: Change to a more descriptive name for 'Padding mode'.
'Align continuation lines' should be easier to understand.
Done-with: Friedemann Kleint
Diffstat (limited to 'src/plugins/texteditor/behaviorsettingspage.ui')
-rw-r--r-- | src/plugins/texteditor/behaviorsettingspage.ui | 38 |
1 files changed, 28 insertions, 10 deletions
diff --git a/src/plugins/texteditor/behaviorsettingspage.ui b/src/plugins/texteditor/behaviorsettingspage.ui index 2b5d2bd795..1f4a5c1838 100644 --- a/src/plugins/texteditor/behaviorsettingspage.ui +++ b/src/plugins/texteditor/behaviorsettingspage.ui @@ -206,36 +206,54 @@ </widget> </item> <item row="1" column="0"> - <widget class="QLabel" name="paddingStyleLabel"> + <widget class="QLabel" name="continuationAlignLabel"> <property name="text"> - <string>Padding style:</string> + <string>Align continuation lines:</string> </property> </widget> </item> <item row="1" column="1"> - <widget class="QComboBox" name="paddingMode"> + <widget class="QComboBox" name="continuationAlignBehavior"> <property name="toolTip"> - <string>Padding is the part of indentation exceeding logical indentation and is usually used to align consecutive lines of code. + <string><html><head/><body> +Influences the indentation of continuation lines. -Disable Padding: Do not pad at all. Lines will only be indented to the current logical indentation depth. +<ul> +<li>Not At All: Do not align at all. Lines will only be indented to the current logical indentation depth. +<pre> +(tab)int i = foo(a, b +(tab)c, d); +</pre> +</li> -Pad With Spaces: Always use spaces for padding, regardless of the choice between tabs and spaces above. +<li>With Spaces: Always use spaces for alignment, regardless of the other indentation settings. +<pre> +(tab)int i = foo(a, b +(tab) c, d); +</pre> +</li> -Pad With Indentation: Padding will be part of the indentation and follow the settings above.</string> +<li>With Regular Indent: Use tabs and/or spaces for alignment, as configured above. +<pre> +(tab)int i = foo(a, b +(tab)(tab)(tab) c, d); +</pre> +</li> +</ul></body></html></string> </property> <item> <property name="text"> - <string>Disable Padding</string> + <string>Not At All</string> </property> </item> <item> <property name="text"> - <string>Pad With Spaces</string> + <string>With Spaces</string> </property> </item> <item> <property name="text"> - <string>Pad With Indentation</string> + <string>With Regular Indent</string> </property> </item> </widget> |