Fix editor.py for windows users

Calling gnsync under windows raises:

> Error while parsing text to
html.
> Content must be an utf-8 encode.

Global name 'self' is not
defined on line 85 in editor.py
I replaced it with a straight call
to the Editor object.

---

-2 typos :-)