Generic highlighter is now part of the text editor plugin.

This commit is contained in:
Leandro Melo
2010-05-20 13:56:11 +02:00
parent 9b6c86bdc1
commit 55b26868e6
47 changed files with 232 additions and 671 deletions

View File

@@ -85,6 +85,13 @@ bool CommentDefinition::hasSingleLineStyle() const
bool CommentDefinition::hasMultiLineStyle() const
{ return !m_multiLineStart.isEmpty() && !m_multiLineEnd.isEmpty(); }
void CommentDefinition::clearCommentStyles()
{
m_singleLine.clear();
m_multiLineStart.clear();
m_multiLineEnd.clear();
}
namespace {
bool isComment(const QString &text,