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
Tobias Hunger
qt-creator
Commits
98907052
Commit
98907052
authored
Dec 11, 2008
by
mae
Browse files
make the home key jump to column 0 if the caret if before the first non-space
parent
ddfd46b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/texteditor/basetexteditor.cpp
View file @
98907052
...
...
@@ -2767,6 +2767,8 @@ void BaseTextEditor::handleHomeKey(bool anchor)
while
(
character
==
tab
||
character
.
category
()
==
QChar
::
Separator_Space
)
{
++
pos
;
if
(
pos
==
initpos
)
break
;
character
=
characterAt
(
pos
);
}
...
...
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