TextEditor::Internal::BehaviorSettingsWidget
0
0
801
459
0
0
0
0
-
-
-
Typing
false
-
Enable automatic &indentation
-
Backspace indentation:
-
0
0
<html><head/><body>
Specifies how backspace interacts with indentation.
<ul>
<li>None: No interaction at all. Regular plain backspace behavior.
</li>
<li>Follows Previous Indents: In leading white space it will take the cursor back to the nearest indentation level used in previous lines.
</li>
<li>Unindents: If the character behind the cursor is a space it behaves as a backtab.
</li>
</ul></body></html>
-
None
-
Follows Previous Indents
-
Unindents
-
Tab key performs auto-indent:
-
Qt::Horizontal
QSizePolicy::Fixed
30
20
-
0
0
-
Never
-
Always
-
In Leading White Space
-
Qt::Vertical
28
13
-
-
Cleanup actions which are automatically performed right before the file is saved to disk.
Cleanups Upon Saving
-
Removes trailing whitespace upon saving.
&Clean whitespace
-
Qt::Horizontal
QSizePolicy::Fixed
30
20
-
false
0
0
Cleans whitespace in entire document instead of only for changed parts.
In entire &document
-
false
Corrects leading whitespace according to tab settings.
Clean indentation
-
Always writes a newline character at the end of the file.
&Ensure newline at end of file
-
File Encodings
-
Default encoding:
-
0
0
QComboBox::AdjustToMinimumContentsLengthWithIcon
20
-
Qt::Horizontal
QSizePolicy::Expanding
285
20
-
<html><head/><body>
<p>How text editors should deal with UTF-8 Byte Order Marks. The options are:</p>
<ul ><li><i>Add If Encoding Is UTF-8:</i> always add a BOM when saving a file in UTF-8 encoding. Note that this will not work if the encoding is <i>System</i>, as Qt Creator does not know what it actually is.</li>
<li><i>Keep If Already Present: </i>save the file with a BOM if it already had one when it was loaded.</li>
<li><i>Always Delete:</i> never write an UTF-8 BOM, possibly deleting a pre-existing one.</li></ul>
<p>Note that UTF-8 BOMs are uncommon and treated incorrectly by some editors, so it usually makes little sense to add any.</p>
<p>This setting does <b>not</b> influence the use of UTF-16 and UTF-32 BOMs.</p></body></html>
-
Add If Encoding Is UTF-8
-
Keep If Already Present
-
Always Delete
-
UTF-8 BOM:
-
Mouse and Keyboard
-
Hide mouse cursor while typing
-
Enable &mouse navigation
-
Enable scroll &wheel zooming
-
Enable built-in camel case &navigation
-
Pressing Alt displays context-sensitive help or type information as tooltips.
Show help tooltips using keyboard shortcut (Alt)
-
Show help tooltips using the mouse:
-
-
Qt::Horizontal
QSizePolicy::Fixed
30
20
-
-
On Mouseover
-
On Shift+Mouseover
-
Qt::Horizontal
40
20
-
Qt::Vertical
20
40
TextEditor::SimpleCodeStylePreferencesWidget
QWidget
texteditor/simplecodestylepreferenceswidget.h
1
cleanWhitespace
inEntireDocument
cleanIndentation
addFinalNewLine
cleanWhitespace
toggled(bool)
inEntireDocument
setEnabled(bool)
87
323
205
353
cleanWhitespace
toggled(bool)
cleanIndentation
setEnabled(bool)
60
323
134
384