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
Tobias Hunger
qt-creator
Commits
210740c3
Commit
210740c3
authored
Dec 19, 2008
by
hjk
Browse files
fix small glitch in fakevim's 'L' handling
parent
a01fa6c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/handler.cpp
View file @
210740c3
...
@@ -305,7 +305,6 @@ void FakeVimHandler::Private::handleCommandMode(int key, const QString &text)
...
@@ -305,7 +305,6 @@ void FakeVimHandler::Private::handleCommandMode(int key, const QString &text)
}
else
if
(
key
==
'L'
)
{
}
else
if
(
key
==
'L'
)
{
int
heigth
=
m_editor
->
height
();
int
heigth
=
m_editor
->
height
();
m_tc
=
m_editor
->
cursorForPosition
(
QPoint
(
0
,
heigth
));
m_tc
=
m_editor
->
cursorForPosition
(
QPoint
(
0
,
heigth
));
m_tc
.
movePosition
(
Up
,
KeepAnchor
,
qMax
(
count
()
-
1
,
0
));
m_tc
.
movePosition
(
Up
,
KeepAnchor
,
qMax
(
count
(),
1
));
m_tc
.
movePosition
(
Up
,
KeepAnchor
,
qMax
(
count
(),
1
));
moveToFirstNonBlankOnLine
();
moveToFirstNonBlankOnLine
();
finishMovement
();
finishMovement
();
...
...
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