[Fixes bug #1173773] Redraw surrounding text tool rectangle when new line is inserted
Fix bug 1173773 by invalidating the rectangle around the text
  [Fixes bug #1174974] Copy - paste or Cut - paste doesn't introduce new blank lines in the text anymore
Merge pull request #55 from ericksson/master

Bug fixes for #1173773 and #1174974.