Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
flatpak-qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marco Bubke
flatpak-qt-creator
Commits
0f0d6cf8
Commit
0f0d6cf8
authored
14 years ago
by
Christian Kamm
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/texteditor/behaviorsettingspage.ui
+42
-0
42 additions, 0 deletions
src/plugins/texteditor/behaviorsettingspage.ui
with
42 additions
and
0 deletions
src/plugins/texteditor/behaviorsettingspage.ui
+
42
−
0
View file @
0f0d6cf8
...
...
@@ -162,6 +162,48 @@
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QComboBox"
name=
"indentBlocksBehavior"
>
<property
name=
"toolTip"
>
<string>
<
html
><
head/
><
body
>
Controls the indentation style of curly brace blocks.
<
ul
>
<
li
>
Exclude Braces: The braces are not indented.
<
pre
>
void foo()
{
if (a)
{
bar();
}
}
<
/pre
>
<
/li
>
<
li
>
Include Braces: The braces are indented. The contents of the block are on the same level as the braces.
<
pre
>
void foo()
{
if (a)
{
bar();
}
}
<
/pre
>
<
/li
>
<
li
>
GNU Style: Indent the braces for blocks in statements. The contents are indented twice.
<
pre
>
void foo()
{
if (a)
{
bar();
}
}
<
/pre
>
<
/li
>
<
/ul
><
/body
><
/html
>
</string>
</property>
<item>
<property
name=
"text"
>
<string>
Exclude Braces
</string>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment