Files
qt-creator/src/plugins/subversion/annotationhighlighter.h

27 lines
736 B
C
Raw Normal View History

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
2008-12-02 16:19:05 +01:00
#pragma once
2008-12-02 12:01:29 +01:00
#include <vcsbase/baseannotationhighlighter.h>
namespace Subversion {
namespace Internal {
// Annotation highlighter for subversion triggering on 'changenumber '
class SubversionAnnotationHighlighter : public VcsBase::BaseAnnotationHighlighter
2008-12-02 12:01:29 +01:00
{
Q_OBJECT
public:
explicit SubversionAnnotationHighlighter(const ChangeNumbers &changeNumbers,
QTextDocument *document = nullptr);
2008-12-02 12:01:29 +01:00
private:
QString changeNumber(const QString &block) const override;
2008-12-02 12:01:29 +01:00
const QChar m_blank;
};
2008-12-02 16:19:05 +01:00
} // namespace Internal
} // namespace Subversion