diff options
author | Thomas BOUTROUE <thebootroo@gmail.com> | 2013-11-15 12:16:28 +0100 |
---|---|---|
committer | David Schulz <david.schulz@digia.com> | 2013-11-15 13:41:38 +0100 |
commit | 85e6f8a1c817ed18305efb3e10896e750e8b24c6 (patch) | |
tree | 9dd7859e43dd63cec08393a764498d1e7955d061 | |
parent | 49eb7349732d7873e931e604e8f17c63b68b639d (diff) | |
download | qt-creator-85e6f8a1c817ed18305efb3e10896e750e8b24c6.tar.gz |
Fix 'dsFunction' (Kate syntax file) not colored in TextEditor
- Added the right TextFormat for dsFunction
- Added TODO comments for missing dsError and dsAlert
Task-number: QTCREATORBUG-10788
Change-Id: I31862971ac5b47f13036aa9c55552778ad88d4ee
Reviewed-by: Thomas Boutroue <thebootroo@gmail.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
-rw-r--r-- | src/plugins/texteditor/generichighlighter/highlighter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/texteditor/generichighlighter/highlighter.cpp b/src/plugins/texteditor/generichighlighter/highlighter.cpp index 787b1fc1b8..19211acdbb 100644 --- a/src/plugins/texteditor/generichighlighter/highlighter.cpp +++ b/src/plugins/texteditor/generichighlighter/highlighter.cpp @@ -71,9 +71,9 @@ Highlighter::Highlighter(QTextDocument *parent) : << TextEditor::C_NUMBER << TextEditor::C_STRING << TextEditor::C_STRING - << TextEditor::C_TEXT - << TextEditor::C_TEXT - << TextEditor::C_TEXT + << TextEditor::C_TEXT // TODO : add style for alert (eg. yellow background) + << TextEditor::C_TEXT // TODO : add style for error (eg. red underline) + << TextEditor::C_FUNCTION << TextEditor::C_TEXT << TextEditor::C_TEXT; } |