Bug 529011 - Better handle folding when using TextPresentation

Some editors rely on TextPresentation, when those are combined with
folding, code minings could draw spaces at wrong locations, because the
widget coordinates (expected by widget) were not translated for usage in
TextPresentation (which expects model coordinate).

Change-Id: I6cb17b30b269ebd60eb0253987a99cd4c62e5624
Signed-off-by: Mickael Istria <mistria@redhat.com>
4 files changed