diff options
author | Francois Ferrand <thetypz@gmail.com> | 2010-10-18 17:45:49 +0200 |
---|---|---|
committer | Leandro Melo <leandro.melo@nokia.com> | 2012-06-05 09:30:54 +0200 |
commit | 809611f3461bfa9513d2620f62427cf175dea1bb (patch) | |
tree | f32f167ea962814834c419f17552420696a17919 /src/plugins/texteditor/texteditorconstants.h | |
parent | 16bca8b06c4f432fbf88e35edbc04c31ff52c864 (diff) | |
download | qt-creator-809611f3461bfa9513d2620f62427cf175dea1bb.tar.gz |
CppHighlighter: highlight all functions/methods.
- Highlight all function/methods (not just virtual methods).
- Highlight as a function even if number of arguments does not match. In
that case, add a diagnostic message to indicate there are too many/too
few arguments.
- Fix highlighting of parameters in function declarations.
These used to be handled indiferently, and they could be mistaken for
type or field references.
- Properly highlight template method calls.
Change-Id: I6e61c9ee47763db95c62314f9cc1c4d398df38b3
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
Diffstat (limited to 'src/plugins/texteditor/texteditorconstants.h')
-rw-r--r-- | src/plugins/texteditor/texteditorconstants.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/texteditorconstants.h b/src/plugins/texteditor/texteditorconstants.h index d15cff50e6..7d23fb3d73 100644 --- a/src/plugins/texteditor/texteditorconstants.h +++ b/src/plugins/texteditor/texteditorconstants.h @@ -60,6 +60,7 @@ enum TextStyle { C_FIELD, C_STATIC, C_VIRTUAL_METHOD, + C_FUNCTION, C_KEYWORD, C_OPERATOR, C_PREPROCESSOR, |