`CodeArea`: Improved API by shifting `modeInfo` logic from *ContentTabs* to *CodeArea*