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
c22678ef
Commit
c22678ef
authored
May 10, 2010
by
hjk
Browse files
fakevim: don't import a selection if there wasn't one
parent
16f6fda5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimhandler.cpp
View file @
c22678ef
...
...
@@ -1020,7 +1020,9 @@ void FakeVimHandler::Private::importSelection()
m_marks
[
'>'
]
=
pos
;
m_anchor
=
anc
;
Qt
::
KeyboardModifiers
mods
=
QApplication
::
keyboardModifiers
();
if
(
mods
&
Qt
::
ControlModifier
)
if
(
!
tc
.
hasSelection
())
m_visualMode
=
NoVisualMode
;
else
if
(
mods
&
Qt
::
ControlModifier
)
m_visualMode
=
VisualBlockMode
;
else
if
(
mods
&
Qt
::
AltModifier
)
m_visualMode
=
VisualBlockMode
;
...
...
Write
Preview
Supports
Markdown
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