2022-08-19 15:59:36 +02:00
|
|
|
// 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
|
2013-06-17 13:55:31 +02:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2013-06-17 13:55:31 +02:00
|
|
|
|
|
|
|
|
#include <coreplugin/editormanager/ieditorfactory.h>
|
|
|
|
|
|
2020-02-05 17:51:41 +01:00
|
|
|
#include <texteditor/texteditoractionhandler.h>
|
|
|
|
|
|
2013-06-17 13:55:31 +02:00
|
|
|
namespace DiffEditor {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
|
|
|
|
class DiffEditorFactory : public Core::IEditorFactory
|
|
|
|
|
{
|
|
|
|
|
public:
|
2020-02-05 15:50:46 +01:00
|
|
|
DiffEditorFactory();
|
2020-02-05 17:51:41 +01:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
TextEditor::TextEditorActionHandler descriptionHandler;
|
|
|
|
|
TextEditor::TextEditorActionHandler unifiedHandler;
|
|
|
|
|
TextEditor::TextEditorActionHandler leftHandler;
|
|
|
|
|
TextEditor::TextEditorActionHandler rightHandler;
|
2013-06-17 13:55:31 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace DiffEditor
|