aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/texteditoractionhandler.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-02-23 10:56:52 +0100
committerEike Ziller <eike.ziller@qt.io>2018-02-23 10:56:52 +0100
commit7c3cfa166d6b54c792f1c452a162bd7842becd52 (patch)
tree404f58894cfebcf6fb62e9eab60b3fb33a3f6f44 /src/plugins/texteditor/texteditoractionhandler.cpp
parent31a55b02477fa0c6b9b9fca7e26ebc6951c3be30 (diff)
parent09a7247bfc08e5d8e027493909c2acb448a0bd8e (diff)
Merge remote-tracking branch 'origin/4.6'
Conflicts: src/plugins/coreplugin/helpmanager.cpp Change-Id: I2feb60ec0afb2f22f75dc137a01c3fa217b299d8
Diffstat (limited to 'src/plugins/texteditor/texteditoractionhandler.cpp')
-rw-r--r--src/plugins/texteditor/texteditoractionhandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp
index 6682dcb475..6c39209ffe 100644
--- a/src/plugins/texteditor/texteditoractionhandler.cpp
+++ b/src/plugins/texteditor/texteditoractionhandler.cpp
@@ -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,