Issue #2135689 by Wim Leers: Clean up edit.module to match coding standards.