forked from qt-creator/qt-creator
Add DiffEditorManager, refactoring.
GitDiffSwitcher operates now on IDocument. GitDiffHandler operates now on DiffEditorController. "source" property now attached to editor's document (VcsBasePlugin). Change-Id: Ie2570a597b8b992ac1dc33b9179eca459c8a751a Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
This commit is contained in:
@@ -36,15 +36,10 @@
|
||||
|
||||
#include <QTextEdit>
|
||||
|
||||
namespace TextEditor {
|
||||
class BaseTextEditorWidget;
|
||||
class FontSettings;
|
||||
}
|
||||
namespace TextEditor { class FontSettings; }
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QPlainTextEdit;
|
||||
class QSplitter;
|
||||
class QSyntaxHighlighter;
|
||||
class QTextCharFormat;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
@@ -53,7 +48,6 @@ QT_END_NAMESPACE
|
||||
namespace DiffEditor {
|
||||
|
||||
class SideDiffEditorWidget;
|
||||
class TextLineData;
|
||||
class ChunkData;
|
||||
class FileData;
|
||||
|
||||
@@ -67,8 +61,6 @@ public:
|
||||
void setDiffEditorController(DiffEditorController *controller);
|
||||
DiffEditorController *diffEditorController() const;
|
||||
|
||||
QTextCodec *codec() const;
|
||||
|
||||
#ifdef WITH_TESTS
|
||||
static void testAssemblyRows();
|
||||
#endif // WITH_TESTS
|
||||
|
||||
Reference in New Issue
Block a user