Refactored inline editing with new file types (all but file and enum)