Commit 50d06fe7 authored by hjk's avatar hjk
Browse files

fakevim: compile fix

parent d55e3208
......@@ -222,7 +222,6 @@ public:
bool m_wasReadOnly; // saves read-only state of document
FakeVimHandler *q;
Core::ICore *m_core;
Mode m_mode;
SubMode m_submode;
SubSubMode m_subsubmode;
......@@ -242,7 +241,6 @@ public:
QString m_commandBuffer;
QString m_currentFileName;
Core::IFile* m_currentFile;
QString m_currentMessage;
bool m_lastSearchForward;
......@@ -305,8 +303,6 @@ FakeVimHandler::Private::Private(FakeVimHandler *parent)
m_visualMode = NoVisualMode;
m_desiredColumn = 0;
m_core = ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>();
m_config[ConfigStartOfLine] = ConfigOn;
m_config[ConfigTabStop] = "8";
m_config[ConfigSmartTab] = ConfigOff;
......
......@@ -240,8 +240,7 @@ void FakeVimPluginPrivate::writeFile(const QString &fileName,
const QString &contents)
{
if (m_currentFile && fileName == m_currentFile->fileName()) {
// handle that as a special case for nicer interation with
// Creator core
// Handle that as a special case for nicer interaction with core
m_core->fileManager()->blockFileChange(m_currentFile);
m_currentFile->save(fileName);
m_core->fileManager()->unblockFileChange(m_currentFile);
......
Markdown is supported
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