forked from qt-creator/qt-creator
Add overlooked Goto Document Start/End shortcut settings
Change-Id: I2f60e2607660cea98aebb1057226010ea4837156 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -1477,6 +1477,16 @@ void TextEditorWidget::gotoBlockEndWithSelection()
|
||||
}
|
||||
}
|
||||
|
||||
void TextEditorWidget::gotoDocumentStart()
|
||||
{
|
||||
moveCursor(QTextCursor::Start);
|
||||
}
|
||||
|
||||
void TextEditorWidget::gotoDocumentEnd()
|
||||
{
|
||||
moveCursor(QTextCursor::End);
|
||||
}
|
||||
|
||||
void TextEditorWidget::gotoLineStart()
|
||||
{
|
||||
d->handleHomeKey(false);
|
||||
|
||||
Reference in New Issue
Block a user