aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2019-04-23 10:45:50 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2019-04-25 06:37:17 +0000
commit58e43d9287f67035df148884289d5bf5f0df881e (patch)
tree211857b63daec9f09ca56d1a97b7b038321b6b88 /doc
parentfc4e2028210477196364d76e4121612ea760437a (diff)
Doc: Do not mention the colors used for errors and warnings
...when underlining issues in the code editor. However, describe how to modify the colors. Change-Id: I8a4db7bfac22f0f76b9f596250a9cf6569fe3392 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/editors/creator-code-syntax.qdoc21
1 files changed, 12 insertions, 9 deletions
diff --git a/doc/src/editors/creator-code-syntax.qdoc b/doc/src/editors/creator-code-syntax.qdoc
index bf68f1e41a..e183c20f5e 100644
--- a/doc/src/editors/creator-code-syntax.qdoc
+++ b/doc/src/editors/creator-code-syntax.qdoc
@@ -38,17 +38,20 @@
structure.
\if defined(qtcreator)
- \list
- \li Syntax errors are underlined in red.
+ In the following screenshot, \QC points out an error, because a semicolon is
+ missing at the end of the line:
- In the following screenshot, a semicolon is missing at the end
- of the line.
- \image qtcreator-syntaxerror.png
- \li Semantic errors and warnings are underlined in olive.
+ \image qtcreator-syntaxerror.png
- In the following screenshot, the variable is not used.
- \image qtcreator-semanticerror.png
- \endlist
+ In the following screenshot, \QC issues a warning, because the variable is
+ not used:
+
+ \image qtcreator-semanticerror.png
+
+ To modify the colors used for underlining errors and warnings, select
+ \uicontrol Tools > \uicontrol Options > \uicontrol {Text Editor} >
+ \uicontrol {Fonts & Colors} > \uicontrol Copy, and select new colors for
+ \uicontrol Error and \uicontrol Warning.
\section1 Viewing Annotations