About TMainIDE.Create: - MainIDE:=Self Why? - ParseCmdLineOptions is called in…
About TMainIDE.Create: - MainIDE:=Self Why?
The MainIDE is created in lazarus.pp via Application.CreateForm(TMainIDE,MainIDE). This method first creates the form and _then_ assigns it to the variable. But the variable is already needed by some IDE parts during the creation. For example TDebugManager.ConnectMainBarEvents.
- ParseCmdLineOptions is called in TMainIDE.Create and in the main program in lazarus.pp Why?
A relict. I removed the double parsing.
Mattias
