edit: Extract local variables from edit() and fix code style

Begin refactoring edit() into a state that can be managed by the `state_enter()`:

- Move local variables into a local InsertState structure
- Fix code style in the entire function.
This commit is contained in:
Thiago de Arruda 2015-10-12 09:25:01 -03:00
parent f1bc3e4c0c
commit f5b333f532

File diff suppressed because it is too large Load Diff