forked from qt-creator/qt-creator
Lua: Change TextDocument to TextEditor
Since there may be many editors editing a single TextDocument it is more useful to start at the TextEditor level. Change-Id: Ic1c4ea76f22ab0d0741edd6f6ecc24d6befa17e6 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -45,7 +45,7 @@ void addMessageManagerModule();
|
||||
void addProcessModule();
|
||||
void addQtModule();
|
||||
void addSettingsModule();
|
||||
void addTextDocumentsModule();
|
||||
void addTextEditorModule();
|
||||
void addUtilsModule();
|
||||
|
||||
class LuaJsExtension : public QObject
|
||||
@@ -261,7 +261,7 @@ public:
|
||||
addProcessModule();
|
||||
addQtModule();
|
||||
addSettingsModule();
|
||||
addTextDocumentsModule();
|
||||
addTextEditorModule();
|
||||
addUtilsModule();
|
||||
|
||||
Core::JsExpander::registerGlobalObject("Lua", [] { return new LuaJsExtension(); });
|
||||
|
Reference in New Issue
Block a user