Commit 449f7d82 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

GenericHighlighter: Support dsDocumentation

Use doxygen style for that

Change-Id: Ic1f9c557e2bfa21bb9543448a4f12413ff7bff4d
Reviewed-by: Alessandro Portale's avatarAlessandro Portale <alessandro.portale@qt.io>
parent 97d80b27
......@@ -113,7 +113,8 @@ Highlighter::Highlighter(QTextDocument *parent) :
<< C_COMMENT // CommentVar
<< C_PREPROCESSOR // Import
<< C_TEXT // Others
<< C_LOCAL; // Identifier
<< C_LOCAL // Identifier
<< C_DOXYGEN_COMMENT; // Documentation
}
setTextFormatCategories(categories);
......@@ -157,6 +158,7 @@ KateFormatMap::KateFormatMap()
m_ids.insert(QLatin1String("dsImport"), Highlighter::Import);
m_ids.insert(QLatin1String("dsOthers"), Highlighter::Others);
m_ids.insert(QLatin1String("dsIdentifier"), Highlighter::Identifier);
m_ids.insert(QLatin1String("dsDocumentation"), Highlighter::Documentation);
}
Q_GLOBAL_STATIC(KateFormatMap, kateFormatMap)
......
......@@ -90,7 +90,8 @@ public:
CommentVar,
Import,
Others,
Identifier
Identifier,
Documentation
};
void setTabSettings(const TabSettings &ts);
......
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