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
78205847
Commit
78205847
authored
Apr 07, 2010
by
Vladimir Kuznetsov
Committed by
hjk
Apr 07, 2010
Browse files
Correctly move cursor after Backspace when following identation.
Merge-request: 132 Reviewed-by:
hjk
<
qtc-committer@nokia.com
>
parent
0a6bb82e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimhandler.cpp
View file @
78205847
...
...
@@ -2278,6 +2278,8 @@ EventResult FakeVimHandler::Private::handleInsertMode(const Input &input)
const
int
newcol
=
col
.
logical
-
1
-
(
col
.
logical
-
1
)
%
ts
;
data
.
remove
(
0
,
col
.
physical
);
setLineContents
(
line
,
tabExpand
(
newcol
).
append
(
data
));
moveToStartOfLine
();
moveRight
(
newcol
);
m_lastInsertion
.
clear
();
// FIXME
}
else
{
m_tc
.
deletePreviousChar
();
...
...
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