Enable the ability to set word wrapping in code when the editor is created

Fixes #4