Commit 07845306 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Fixed the Goto Next/Previous Line actions

Due to the wrong enumerators being used, it was impossible to define
custom shortcuts for these actions.

Reviewed-by: mae
Task-number: QTCREATORBUG-2139
parent 8eecf8fc
......@@ -760,22 +760,22 @@ void BaseTextEditor::gotoLineEndWithSelection()
void BaseTextEditor::gotoNextLine()
void BaseTextEditor::gotoNextLineWithSelection()
moveCursor(QTextCursor::NextRow, QTextCursor::KeepAnchor);
moveCursor(QTextCursor::Down, QTextCursor::KeepAnchor);
void BaseTextEditor::gotoPreviousLine()
void BaseTextEditor::gotoPreviousLineWithSelection()
moveCursor(QTextCursor::PreviousRow, QTextCursor::KeepAnchor);
moveCursor(QTextCursor::Up, QTextCursor::KeepAnchor);
void BaseTextEditor::gotoPreviousCharacter()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment