@@ -82,7 +82,8 @@ void FTextAssetEditorToolkit::Initialize(UTextAsset* InTextAsset, const EToolkit
82
82
Layout,
83
83
true /* bCreateDefaultStandaloneMenu*/ ,
84
84
true /* bCreateDefaultToolbar*/ ,
85
- InTextAsset);
85
+ InTextAsset
86
+ );
86
87
87
88
RegenerateMenusAndToolbars ();
88
89
}
@@ -97,25 +98,25 @@ FString FTextAssetEditorToolkit::GetDocumentationLink() const
97
98
}
98
99
99
100
100
- void FTextAssetEditorToolkit::RegisterTabSpawners (const TSharedRef<class FTabManager >& TabManager )
101
+ void FTextAssetEditorToolkit::RegisterTabSpawners (const TSharedRef<class FTabManager >& InTabManager )
101
102
{
102
- WorkspaceMenuCategory = TabManager ->AddLocalWorkspaceMenuCategory (LOCTEXT (" WorkspaceMenu_TextAssetEditor" , " Text Asset Editor" ));
103
+ WorkspaceMenuCategory = InTabManager ->AddLocalWorkspaceMenuCategory (LOCTEXT (" WorkspaceMenu_TextAssetEditor" , " Text Asset Editor" ));
103
104
auto WorkspaceMenuCategoryRef = WorkspaceMenuCategory.ToSharedRef ();
104
105
105
- FAssetEditorToolkit::RegisterTabSpawners (TabManager );
106
+ FAssetEditorToolkit::RegisterTabSpawners (InTabManager );
106
107
107
- TabManager ->RegisterTabSpawner (TextEditorTabId, FOnSpawnTab::CreateSP (this , &FTextAssetEditorToolkit::HandleTabManagerSpawnTab, TextEditorTabId))
108
+ InTabManager ->RegisterTabSpawner (TextEditorTabId, FOnSpawnTab::CreateSP (this , &FTextAssetEditorToolkit::HandleTabManagerSpawnTab, TextEditorTabId))
108
109
.SetDisplayName (LOCTEXT (" TextEditorTabName" , " Text Editor" ))
109
110
.SetGroup (WorkspaceMenuCategoryRef)
110
111
.SetIcon (FSlateIcon (FEditorStyle::GetStyleSetName (), " LevelEditor.Tabs.Viewports" ));
111
112
}
112
113
113
114
114
- void FTextAssetEditorToolkit::UnregisterTabSpawners (const TSharedRef<class FTabManager >& TabManager )
115
+ void FTextAssetEditorToolkit::UnregisterTabSpawners (const TSharedRef<class FTabManager >& InTabManager )
115
116
{
116
- FAssetEditorToolkit::UnregisterTabSpawners (TabManager );
117
+ FAssetEditorToolkit::UnregisterTabSpawners (InTabManager );
117
118
118
- TabManager ->UnregisterTabSpawner (TextEditorTabId);
119
+ InTabManager ->UnregisterTabSpawner (TextEditorTabId);
119
120
}
120
121
121
122
0 commit comments