New Edit Window
Go Up to View Menu
View > New Edit Window
Brings up a new Code Editor window as a separate window.
For single units, New Edit Window duplicates the unit on a new Code Editor window. The previous Code Editor window remains open.
For units vinculated to a form, New Edit Window detaches the unit from the editor without duplicating it.
To re-attach the unit, drag and drop the tab into the IDE.