TextEditor::Internal::BehaviorSettingsWidget
0
0
801
693
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
-
0
0
0
0
0
-
false
For the file patterns listed, do not trim trailing whitespace.
Skip clean whitespace for file types:
false
false
-
false
false
List of wildcard-aware file patterns, separated by commas or semicolons.
-
true
Always writes a newline character at the end of the file.
&Ensure newline at end of file
-
Qt::Horizontal
QSizePolicy::Fixed
30
20
-
Removes trailing whitespace upon saving.
&Clean whitespace
-
false
Corrects leading whitespace according to tab settings.
Clean indentation
-
false
0
0
Cleans whitespace in entire document instead of only for changed parts.
In entire &document
-
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 the text editor 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:
-
Default line endings:
-
-
Mouse and Keyboard
-
Hide mouse cursor while typing
-
Enable &mouse navigation
-
Enable scroll &wheel zooming
-
Enable built-in camel case &navigation
-
Using Select Block Up / Down actions will now provide smarter selections.
Enable smart selection changing
-
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
autoIndent
smartBackspaceBehavior
tabKeyBehavior
cleanWhitespace
inEntireDocument
cleanIndentation
addFinalNewLine
encodingBox
utf8BomBox
mouseHiding
mouseNavigation
scrollWheelZooming
camelCaseNavigation
smartSelectionChanging
keyboardTooltips
constrainTooltipsBox
cleanWhitespace
toggled(bool)
inEntireDocument
setEnabled(bool)
87
323
205
353
cleanWhitespace
toggled(bool)
cleanIndentation
setEnabled(bool)
60
323
134
384
cleanWhitespace
toggled(bool)
skipTrailingWhitespace
setEnabled(bool)
530
48
548
144
cleanWhitespace
toggled(bool)
ignoreFileTypes
setEnabled(bool)
530
48
556
177