Commit 85e6f8a1 authored by Thomas BOUTROUE's avatar Thomas BOUTROUE Committed by David Schulz

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: default avatarThomas Boutroue <thebootroo@gmail.com>
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 49eb7349
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment