summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/generichighlighter/itemdata.cpp
diff options
context:
space:
mode:
authorLeandro Melo <leandro.melo@nokia.com>2010-05-31 13:56:46 +0200
committerLeandro Melo <leandro.melo@nokia.com>2010-05-31 15:00:03 +0200
commitc2f2d131119cdfa7b0ff5da4d7365033128da3b5 (patch)
tree548d6239544c1351ab87b384ca033bcd1e49b035 /src/plugins/texteditor/generichighlighter/itemdata.cpp
parent9960008f778fa9a0caec6a4229fca4f6e04258cd (diff)
downloadqt-creator-c2f2d131119cdfa7b0ff5da4d7365033128da3b5.tar.gz
Generic highlighter: Refactored how format configuration is done.
Now the highlighter engine does not directly depend on TextEditor::FontSettings. This also makes things easier for unit testing.
Diffstat (limited to 'src/plugins/texteditor/generichighlighter/itemdata.cpp')
-rw-r--r--src/plugins/texteditor/generichighlighter/itemdata.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/plugins/texteditor/generichighlighter/itemdata.cpp b/src/plugins/texteditor/generichighlighter/itemdata.cpp
index 498d968e32..65f6b7f2a3 100644
--- a/src/plugins/texteditor/generichighlighter/itemdata.cpp
+++ b/src/plugins/texteditor/generichighlighter/itemdata.cpp
@@ -33,21 +33,6 @@
using namespace TextEditor;
using namespace Internal;
-const QLatin1String ItemData::kDsNormal("dsNormal");
-const QLatin1String ItemData::kDsKeyword("dsKeyword");
-const QLatin1String ItemData::kDsDataType("dsDataType");
-const QLatin1String ItemData::kDsDecVal("dsDecVal");
-const QLatin1String ItemData::kDsBaseN("dsBaseN");
-const QLatin1String ItemData::kDsFloat("dsFloat");
-const QLatin1String ItemData::kDsChar("dsChar");
-const QLatin1String ItemData::kDsString("dsString");
-const QLatin1String ItemData::kDsComment("dsComment");
-const QLatin1String ItemData::kDsOthers("dsOthers");
-const QLatin1String ItemData::kDsAlert("dsAlert");
-const QLatin1String ItemData::kDsFunction("dsFunction");
-const QLatin1String ItemData::kDsRegionMarker("dsRegionMarker");
-const QLatin1String ItemData::kDsError("dsError");
-
ItemData::ItemData() :
m_italicSpecified(false),
m_boldSpecified(false),