forked from qt-creator/qt-creator
Add Context Help to text editor context menu
For this make the default context menu for the text editor extensible and add the context help item from the help plugin, which now has an optional dependency on the text editor to ensure correct loading order if both are present. Task-number: QTCREATORBUG-55 Change-Id: I378a491ba3700e65fc262bdb10c8ead5ad62cb33 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -109,6 +109,11 @@ enum TextStyle : quint8 {
|
||||
namespace Constants {
|
||||
|
||||
const char C_TEXTEDITOR[] = "Text Editor";
|
||||
const char M_STANDARDCONTEXTMENU[] = "TextEditor.StandardContextMenu";
|
||||
const char G_UNDOREDO[] = "TextEditor.UndoRedoGroup";
|
||||
const char G_COPYPASTE[] = "TextEditor.CopyPasteGroup";
|
||||
const char G_SELECT[] = "TextEditor.SelectGroup";
|
||||
const char G_BOM[] = "TextEditor.BomGroup";
|
||||
const char COMPLETE_THIS[] = "TextEditor.CompleteThis";
|
||||
const char QUICKFIX_THIS[] = "TextEditor.QuickFix";
|
||||
const char SHOWCONTEXTMENU[] = "TextEditor.ShowContextMenu";
|
||||
|
||||
Reference in New Issue
Block a user