editor: take font width into account.

This makes things line up with the right margin position a bit better.