Commit 68b28bb3 authored by hjk's avatar hjk
Browse files

fakevim: add a comment regarding unwanted dependencies

parent 049514a6
...@@ -35,10 +35,17 @@ ...@@ -35,10 +35,17 @@
#include "fakevimconstants.h" #include "fakevimconstants.h"
// Please do not add any direct dependencies to other Qt Creator code here.
// Instead emit signals and let the FakeVimPlugin channel the information to
// Qt Creator. The idea is to keep this file here in a "clean" state that
// allows easy reuse with any QTextEdit or QPlainTextEdit derived class.
#include <coreplugin/filemanager.h> #include <coreplugin/filemanager.h>
#include <coreplugin/icore.h> #include <coreplugin/icore.h>
#include <texteditor/basetexteditor.h> #include <texteditor/basetexteditor.h>
//#include <indenter.h>
#include <QtCore/QDebug> #include <QtCore/QDebug>
#include <QtCore/QFile> #include <QtCore/QFile>
#include <QtCore/QObject> #include <QtCore/QObject>
...@@ -57,11 +64,6 @@ ...@@ -57,11 +64,6 @@
#include <QtGui/QTextDocumentFragment> #include <QtGui/QTextDocumentFragment>
#include <QtGui/QTextEdit> #include <QtGui/QTextEdit>
//#include <texteditor/basetexteditor.h>
//#include <texteditor/textblockiterator.h>
//#include <cppeditor/cppeditor.h>
//#include <indenter.h>
using namespace FakeVim::Internal; using namespace FakeVim::Internal;
using namespace FakeVim::Constants; using namespace FakeVim::Constants;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment