diff options
author | Eike Ziller <eike.ziller@qt.io> | 2023-04-19 15:09:49 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2023-04-20 08:31:06 +0000 |
commit | 71f9e536c51818e0850b78ff2b62446339fa8c01 (patch) | |
tree | 7ddf1b6cfe49f45146c00ae97a81a0e7d9a91042 /src/plugins/texteditor/markdowneditor.h | |
parent | 1c60f57340bb2808d08169586e11e20ffcd0c987 (diff) |
Markdown: Fix that text editing actions were not available
Add the TextEditorActionHandler and point it to the text editor.
Change-Id: I2c84d6b0160c7402ea32d56ed4dbc72d512072a1
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/texteditor/markdowneditor.h')
-rw-r--r-- | src/plugins/texteditor/markdowneditor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/texteditor/markdowneditor.h b/src/plugins/texteditor/markdowneditor.h index 21944657bc4..de87c558e1b 100644 --- a/src/plugins/texteditor/markdowneditor.h +++ b/src/plugins/texteditor/markdowneditor.h @@ -5,12 +5,17 @@ #include <coreplugin/editormanager/ieditorfactory.h> +#include <texteditor/texteditoractionhandler.h> + namespace TextEditor::Internal { class MarkdownEditorFactory final : public Core::IEditorFactory { public: MarkdownEditorFactory(); + +private: + TextEditor::TextEditorActionHandler m_actionHandler; }; } // TextEditor::Internal |