forked from qt-creator/qt-creator
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>
This commit is contained in:
committed by
David Schulz
parent
49eb734973
commit
85e6f8a1c8
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user