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:
@@ -432,6 +432,10 @@ void TextEditorActionHandlerPrivate::createActions()
|
||||
tr("Select Word Under Cursor"));
|
||||
|
||||
// register GOTO Actions
|
||||
registerAction(GOTO_DOCUMENT_START,
|
||||
[] (TextEditorWidget *w) { w->gotoDocumentStart(); }, true, tr("Go to Document Start"));
|
||||
registerAction(GOTO_DOCUMENT_END,
|
||||
[] (TextEditorWidget *w) { w->gotoDocumentEnd(); }, true, tr("Go to Document End"));
|
||||
registerAction(GOTO_LINE_START,
|
||||
[] (TextEditorWidget *w) { w->gotoLineStart(); }, true, tr("Go to Line Start"));
|
||||
registerAction(GOTO_LINE_END,
|
||||
|
||||
Reference in New Issue
Block a user