Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
50d06fe7
Commit
50d06fe7
authored
Jan 15, 2009
by
hjk
Browse files
fakevim: compile fix
parent
d55e3208
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimhandler.cpp
View file @
50d06fe7
...
...
@@ -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
;
...
...
src/plugins/fakevim/fakevimplugin.cpp
View file @
50d06fe7
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment