Doc: Describe new Text Editor > Display preferences

- Visualize Indent check box
- Tint whole margin check box
- Update the screenshot.

Task-number: QTCREATORBUG-27876
Change-Id: Ie61cf82e35f8dda75e0aeea08eda92993ff36a71
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Leena Miettinen
2022-09-29 17:30:45 +02:00
parent 23e96dd6fe
commit eeb1cd22ce
2 changed files with 7 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -64,13 +64,18 @@
To visualize whitespace in the editor, select \uicontrol Edit > To visualize whitespace in the editor, select \uicontrol Edit >
\uicontrol Preferences > \uicontrol {Text Editor} > \uicontrol Display > \uicontrol Preferences > \uicontrol {Text Editor} > \uicontrol Display >
\uicontrol {Visualize whitespace}. \uicontrol {Visualize whitespace}. To visualize indentation, select
\uicontrol {Visualize Indent}.
\image qtcreator-options-text-editor-display.png "Text Editor Display preferences" \image qtcreator-options-text-editor-display.png "Text Editor Display preferences"
To help you keep line length at a particular number of characters, set the To help you keep line length at a particular number of characters, set the
number of characters in the \uicontrol {Display right margin at column} number of characters in the \uicontrol {Display right margin at column}
field. To use a context-specific margin when available, select the field. To use a different color for the margin area, select the
\uicontrol {Tint whole margin area} check box. Deselect the check box to show
the margin as a vertical line.
To use a context-specific margin when available, select the
\uicontrol {Use context-specific margin} check box. \uicontrol {Use context-specific margin} check box.
\if defined(qtcreator) \if defined(qtcreator)
For example, the margin could be set by the \c ColumnLimit option of the For example, the margin could be set by the \c ColumnLimit option of the