@@ -82,7 +82,8 @@ void FTextAssetEditorToolkit::Initialize(UTextAsset* InTextAsset, const EToolkit
8282 Layout,
8383 true /* bCreateDefaultStandaloneMenu*/ ,
8484 true /* bCreateDefaultToolbar*/ ,
85- InTextAsset);
85+ InTextAsset
86+ );
8687
8788 RegenerateMenusAndToolbars ();
8889}
@@ -97,25 +98,25 @@ FString FTextAssetEditorToolkit::GetDocumentationLink() const
9798}
9899
99100
100- void FTextAssetEditorToolkit::RegisterTabSpawners (const TSharedRef<class FTabManager >& TabManager )
101+ void FTextAssetEditorToolkit::RegisterTabSpawners (const TSharedRef<class FTabManager >& InTabManager )
101102{
102- WorkspaceMenuCategory = TabManager ->AddLocalWorkspaceMenuCategory (LOCTEXT (" WorkspaceMenu_TextAssetEditor" , " Text Asset Editor" ));
103+ WorkspaceMenuCategory = InTabManager ->AddLocalWorkspaceMenuCategory (LOCTEXT (" WorkspaceMenu_TextAssetEditor" , " Text Asset Editor" ));
103104 auto WorkspaceMenuCategoryRef = WorkspaceMenuCategory.ToSharedRef ();
104105
105- FAssetEditorToolkit::RegisterTabSpawners (TabManager );
106+ FAssetEditorToolkit::RegisterTabSpawners (InTabManager );
106107
107- TabManager ->RegisterTabSpawner (TextEditorTabId, FOnSpawnTab::CreateSP (this , &FTextAssetEditorToolkit::HandleTabManagerSpawnTab, TextEditorTabId))
108+ InTabManager ->RegisterTabSpawner (TextEditorTabId, FOnSpawnTab::CreateSP (this , &FTextAssetEditorToolkit::HandleTabManagerSpawnTab, TextEditorTabId))
108109 .SetDisplayName (LOCTEXT (" TextEditorTabName" , " Text Editor" ))
109110 .SetGroup (WorkspaceMenuCategoryRef)
110111 .SetIcon (FSlateIcon (FEditorStyle::GetStyleSetName (), " LevelEditor.Tabs.Viewports" ));
111112}
112113
113114
114- void FTextAssetEditorToolkit::UnregisterTabSpawners (const TSharedRef<class FTabManager >& TabManager )
115+ void FTextAssetEditorToolkit::UnregisterTabSpawners (const TSharedRef<class FTabManager >& InTabManager )
115116{
116- FAssetEditorToolkit::UnregisterTabSpawners (TabManager );
117+ FAssetEditorToolkit::UnregisterTabSpawners (InTabManager );
117118
118- TabManager ->UnregisterTabSpawner (TextEditorTabId);
119+ InTabManager ->UnregisterTabSpawner (TextEditorTabId);
119120}
120121
121122
0 commit comments