hacketyhack/hacketyhack — pull request #141 by PragTob (2011-12-30 21:53:28+00:00)
Title: Editor refactoring

My first stab at refactoring teh ahcketyhack editor. It's not perfect, but I believe it is a lot better code wise than the previous version. So to say a lot more readable.

There are still things that I need to figure out, such as the indention and whether there is a better way to do the case on the keys (maybe a seperate case for the editor, for all the cases were text is really modified?)

Also I don't like this on_delete and on_insert but I don't know a better way atm. Also tests are missing.

However I wanted to issue this pull request in order to gather some feedback and not work in the dark for much longer.