From c2f2d131119cdfa7b0ff5da4d7365033128da3b5 Mon Sep 17 00:00:00 2001 From: Leandro Melo Date: Mon, 31 May 2010 13:56:46 +0200 Subject: 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. --- src/plugins/texteditor/generichighlighter/itemdata.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/plugins/texteditor/generichighlighter/itemdata.cpp') 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), -- cgit v1.2.1