Skip to content
GitLab
Menu
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
4a57295d
Commit
4a57295d
authored
Mar 10, 2009
by
hjk
Browse files
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
parents
341de778
29b1f841
Changes
5
Show whitespace changes
Inline
Side-by-side
doc/qtcreator.qdoc
View file @
4a57295d
...
...
@@ -700,7 +700,7 @@
\section1 Usage
You can find the version control menu ent
i
res in a sub-menu of the
You can find the version control menu entr
i
es in a sub-menu of the
\gui{Tools} menu. The version control system displayed here is the system
that manages the current project.
...
...
src/plugins/coreplugin/editormanager/editormanager.cpp
View file @
4a57295d
...
...
@@ -628,6 +628,7 @@ QList<IFile *> EditorManager::filesForEditors(QList<IEditor *> editors) const
bool
EditorManager
::
closeAllEditors
(
bool
askAboutModifiedEditors
)
{
m_d
->
m_editorModel
->
removeAllRestoredEditors
();
return
closeEditors
(
openedEditors
(),
askAboutModifiedEditors
);
}
...
...
src/plugins/coreplugin/editormanager/editorview.cpp
View file @
4a57295d
...
...
@@ -181,6 +181,17 @@ void EditorModel::removeEditor(IEditor *editor)
disconnect
(
editor
,
SIGNAL
(
changed
()),
this
,
SLOT
(
itemChanged
()));
}
void
EditorModel
::
removeAllRestoredEditors
()
{
for
(
int
i
=
m_editors
.
count
()
-
1
;
i
>=
0
;
--
i
)
{
if
(
!
m_editors
.
at
(
i
).
editor
)
{
beginRemoveRows
(
QModelIndex
(),
i
,
i
);
m_editors
.
removeAt
(
i
);
endRemoveRows
();
}
}
}
bool
EditorModel
::
isDuplicate
(
IEditor
*
editor
)
const
{
return
m_duplicateEditors
.
contains
(
editor
);
...
...
src/plugins/coreplugin/editormanager/editorview.h
View file @
4a57295d
...
...
@@ -86,6 +86,7 @@ public:
QList
<
Entry
>
entries
()
const
{
return
m_editors
;
}
void
removeEditor
(
IEditor
*
editor
);
void
removeAllRestoredEditors
();
void
emitDataChanged
(
IEditor
*
editor
);
QList
<
IEditor
*>
editors
()
const
;
...
...
src/plugins/fakevim/fakevimhandler.cpp
View file @
4a57295d
...
...
@@ -1493,7 +1493,7 @@ EventResult FakeVimHandler::Private::handleMiniBufferModes(int key, int unmodifi
updateMiniBuffer
();
}
else
if
((
key
==
Key_Up
||
key
==
Key_PageUp
)
&&
isSearchMode
())
{
// FIXME: This and the three cases below are wrong as vim
// takes only matching ent
i
res in the history into account.
// takes only matching entr
i
es in the history into account.
if
(
m_searchHistoryIndex
>
0
)
{
--
m_searchHistoryIndex
;
showBlackMessage
(
m_searchHistory
.
at
(
m_searchHistoryIndex
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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