refactor(#2826): add lifecycle logging to all Explorer members
This commit is contained in:
@@ -50,7 +50,7 @@ local Window = Class:extend()
|
||||
---@protected
|
||||
---@param args WindowArgs
|
||||
function Window:new(args)
|
||||
args.explorer:log_lifecycle("Window:new")
|
||||
args.explorer:log_new("Window")
|
||||
|
||||
self.explorer = args.explorer
|
||||
self.adaptive_size = false
|
||||
@@ -86,6 +86,10 @@ function Window:new(args)
|
||||
self.initial_width = self:get_width()
|
||||
end
|
||||
|
||||
function Window:destroy()
|
||||
self.explorer:log_destroy("Window")
|
||||
end
|
||||
|
||||
-- The initial state of a tab
|
||||
local tabinitial = {
|
||||
-- The position of the cursor { line, column }
|
||||
|
||||
Reference in New Issue
Block a user