Skip to content
Snippets Groups Projects
Commit 0f0d6cf8 authored by Christian Kamm's avatar Christian Kamm
Browse files

Add tooltip for 'Block indentation style' in editor behavior config.

Reviewed-by: hjk
parent 8df6dd6d
No related branches found
No related tags found
No related merge requests found
......@@ -162,6 +162,48 @@
</item>
<item row="0" column="1">
<widget class="QComboBox" name="indentBlocksBehavior">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;
Controls the indentation style of curly brace blocks.
&lt;ul&gt;
&lt;li&gt;Exclude Braces: The braces are not indented.
&lt;pre&gt;
void foo()
{
if (a)
{
bar();
}
}
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Include Braces: The braces are indented. The contents of the block are on the same level as the braces.
&lt;pre&gt;
void foo()
{
if (a)
{
bar();
}
}
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;GNU Style: Indent the braces for blocks in statements. The contents are indented twice.
&lt;pre&gt;
void foo()
{
if (a)
{
bar();
}
}
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<item>
<property name="text">
<string>Exclude Braces</string>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment