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
Frameworks
KTextEditor
Commits
49b8add4
Commit
49b8add4
authored
Jul 07, 2019
by
Christoph Cullmann
🍨
Browse files
fix goto line centering
force center for any external set cursor position call
BUG: 408418
parent
c9cba205
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/view/kateview.cpp
View file @
49b8add4
...
...
@@ -1581,7 +1581,7 @@ bool KTextEditor::ViewPrivate::setCursorPositionInternal(const KTextEditor::Curs
x
+=
position
.
column
()
-
z
;
}
m_viewInternal
->
updateCursor
(
KTextEditor
::
Cursor
(
position
.
line
(),
x
),
false
,
false
,
calledExternally
);
m_viewInternal
->
updateCursor
(
KTextEditor
::
Cursor
(
position
.
line
(),
x
),
false
,
calledExternally
/* force center for external calls, see bug 408418 */
,
calledExternally
);
return
true
;
}
...
...
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