2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// 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
|
|
|
|
2016-03-18 07:55:01 +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 '
|
2012-01-07 12:31:48 +01:00
|
|
|
class SubversionAnnotationHighlighter : public VcsBase::BaseAnnotationHighlighter
|
2008-12-02 12:01:29 +01:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
2023-11-16 11:58:48 +01:00
|
|
|
explicit SubversionAnnotationHighlighter(const VcsBase::Annotation &annotation);
|
2008-12-02 12:01:29 +01:00
|
|
|
|
|
|
|
|
private:
|
2018-09-20 00:57:48 +03:00
|
|
|
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
|