Patch Set 3:

In patch set 3, I changed the following:

- Do wrapping while the user is typing instead of at the end. This way, we don't have to restrain the size of the text area (which was a hack). It basically works like in vim with textwidth set. The only problem is that there's no easy way to reflow the text (command gq in vim), maybe this should be added as a context menu entry for a selection?

- The margin line is set to 70 characters to show where the wrapping will happen.

- Renamed the preference page from "Committing" to "Commit Dialog".

- Added more testcases for wrapping, fixing the mentioned bugs.