OpenSaveConfigWidget
0
0
552
607
0
0
0
0
-
File Format
-
QFormLayout::ExpandingFieldsGrow
-
&Encoding:
cmbEncoding
-
This defines the standard encoding to use to open/save files, if not changed in the open/save dialog or by using a command line option.
-
&Encoding detection:
cmbEncodingDetection
-
if neither the encoding chosen as standard above, nor the encoding specified in the open/save dialog, nor the encoding specified on command line match the content of the file, this detection will be run.
-
&Fallback encoding:
cmbEncodingFallback
-
This defines the fallback encoding to try for opening files if neither the encoding chosen as standard above, nor the encoding specified in the open/save dialog, nor the encoding specified on command line match the content of the file. Before this is used, an attempt will be made to determine the encoding to use by looking for a byte order mark at start of file: if one is found, the right Unicode encoding will be chosen; otherwise encoding detection will run, if both fail the fallback encoding will be tried.
-
E&nd of line:
cmbEOL
-
-
UNIX
-
DOS/Windows
-
Macintosh
-
If this option is enabled the editor will autodetect the end of line type. The first found end of line type will be used for the whole file.
A&utomatic end of line detection
-
The byte order mark is a special sequence at the beginning of Unicode encoded documents. It helps editors to open text documents with the correct Unicode encoding. The byte order mark is not visible in the displayed document.
Enable byte order mark (BOM)
-
Line length limit:
lineLengthLimit
-
Unlimited
-1
1000000
-
Automatic Cleanups on Save
-
-
Depending on the choice, trailing spaces are removed when saving a document, either in the entire document or only of modified lines.
Re&move trailing spaces:
cbRemoveTrailingSpaces
-
Depending on the choice, trailing spaces are removed when saving a document, either in the entire document or only of modified lines.
-
Never
-
On Modified Lines
-
In Entire Document
-
Qt::Horizontal
40
20
-
On save, a line break is appended to the document if not already present. The line break is visible after reloading the file.
Append newline at end of file on save
-
Enable Auto Save (local files only)
true
-
0
0
Auto save document when the active document is losing focus
-
-
Auto save interval:
-
Never
seconds
300
-
Qt::Horizontal
40
20
-
Qt::Vertical
0
1