elf-edit icon indicating copy to clipboard operation
elf-edit copied to clipboard

Clean up and reorganize the code.

Open TheThirdOne opened this issue 8 years ago • 1 comments

The code is very wet (not DRY) currently and there is some major low hanging fruit to making it easier to work on and understand.

One such area would be making a rendering system so that each line doesn't have to compare to offset and possibly optimizing rendering.

Separating into separate files is also probably appropriate (also the project structure should get committed some time).

TheThirdOne avatar Mar 31 '17 06:03 TheThirdOne

A procedeural macro could be a nice way to DRY a bunch. Otherwise parsing and highlighting kindof have to stay wet.

Thats kindof complex for now though.

TheThirdOne avatar Mar 31 '17 07:03 TheThirdOne