This API was changed in the last sprint to `Editor.getSpaceUnits()`.