PintaProject/Pinta — pull request #55 by ericksson (2013-04-27 22:15:34+00:00)
Title: Bug fix for #1173773

Fix for minor, but annoying bug, when surrounding rectangle when editing text with the Text tool was getting corrupted when new line was inserted. The most sensible solution to me seemed to make a call to RedrawText (which also redraws the rectangle) when the Enter key is pressed. In the future, we might want to move the rectangle drawing code out of RedrawText (or at least rename that to RedrawTextAndTextEditRectangle).