DESCRIPTION

Hard wrap should insert line breaks after user finishes editing

In the old implementation, hard-wrapping interfered with the user's
typing. This fix uses a segment listener on the StyledText to give a
preview of the final wrapping, and it only inserts the additional line
delimiters when the user commits the message.

Bug: 387932
Change-Id: Ib240752de554fcb3d4baa0a551eeb903303d528e
Signed-off-by: Dashawn Dalton xxx@xxx.xxx


COMMENTS

author: Dashawn Dalton
date: 2012-10-08 20:42:01.000000000

Uploaded patch set 2.

-------------------------------------
author: Brenden Conley
date: 2012-10-08 20:42:07.000000000

Patch Set 2:

Build Started https://hudson.eclipse.org/sandbox/job/egit.gerrit/3446/ 

-------------------------------------
author: Brenden Conley
date: 2012-10-08 20:57:24.000000000

Patch Set 2: Verified

Build Successful 

https://hudson.eclipse.org/sandbox/job/egit.gerrit/3446/ : SUCCESS

-------------------------------------
author: Douglas Trujillo
date: 2012-10-08 22:32:15.000000000

Patch Set 2: Verified; I would prefer that you didn't submit this; IP review completed

(3 inline comments)

looks good except style nits

Line:353, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java -> what is XXX: ? I guess you meant TODO

Line:749, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java -> style nit: we don't use braces around single line blocks

Line:768, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java -> style nit: we don't use braces around single line blocks

-------------------------------------
