Removed the thread... and got distracted
Fix thinko
Set the tooltip to None before reusing the same tooltip

Otherwise we get a number of lovely warnings
and criticals about reparenting.
Remove update_state()

This does not exist in gedit 3 plugins
Don't delay the initial diff

This also fixes an error where we were trying to diff
the buffer before it had been loaded. We also don't add
the diff renderer until it is needed and don't connect to
changed until a view is actually in a git repository.
Update comment
Remove the timeout if the buffer changes
Fix lazily adding the diff renderer
Fix unicode warning when diffing
Fix diffing a new file in a git repo
Be explicit about what the bounds are
Fix getting the last line of text

Also only get the visible text.
Add a bit of xpadding to the diff renderer

Otherwise it is simply too close to the text
and burns my eyes.
Take file length into account when delaying the diff

Otherwise large files delay for an unacceptable
amount of time.