forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user