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

32 lines
821 B
C
Raw Normal View History

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 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/vcsbaseeditor.h>
#include <QRegularExpression>
2008-12-02 12:01:29 +01:00
namespace Subversion {
namespace Internal {
class SubversionEditorWidget : public VcsBase::VcsBaseEditorWidget
2008-12-02 12:01:29 +01:00
{
Q_OBJECT
public:
SubversionEditorWidget();
2008-12-02 12:01:29 +01:00
private:
QString changeUnderCursor(const QTextCursor &) const override;
VcsBase::BaseAnnotationHighlighter *createAnnotationHighlighter(
const QSet<QString> &changes) const override;
QStringList annotationPreviousVersions(const QString &) const override;
2008-12-02 12:01:29 +01:00
QRegularExpression m_changeNumberPattern;
QRegularExpression m_revisionNumberPattern;
2008-12-02 12:01:29 +01:00
};
} // namespace Internal
} // namespace Subversion