blob: cd8d749798dba5d59f4b8105732ad25b6007c5c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include "completionassistprovider.h"
#include "texteditor/texteditorconstants.h"
namespace TextEditor {
class TEXTEDITOR_EXPORT DocumentContentCompletionProvider : public CompletionAssistProvider
{
Q_OBJECT
public:
DocumentContentCompletionProvider(
const QString &snippetGroup = QString(Constants::TEXT_SNIPPET_GROUP_ID));
IAssistProcessor *createProcessor(const AssistInterface *interface) const override;
private:
QString m_snippetGroup;
};
} // TextEditor
|