Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329489

Summary: Optionally hard-wrap commit message
Product: [Technology] EGit Reporter: Matthias Sohn <matthias.sohn>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: robin
Version: 0.10.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Sohn CLA 2010-11-04 16:26:36 EDT
When "hard-wrap" is enabled in the new Commit Dialog preference page,
the commit message editor automatically inserts newlines as the user is
typing the commit message.

The text width is 70. If a line the user is typing would be longer than
that, a newline is automatically inserted before the last word.
Existing newlines are not touched, to allow for manual formatting (e.g.
ASCII graphics).

The editor shows the commit message in a configurable font that defaults
to the text font. This font is usually fixed-width, so that the margin
line can be shown after exactly 70 characters.

Contribution from Robin Stocker, code review at http://egit.eclipse.org/r/#change,1244
Comment 1 Matthias Sohn CLA 2010-11-05 04:17:18 EDT
Robin could you make the necessary confirmations for the IP review as a comment to this bug:

a.  authored 100%
b.  has the rights to donate the content to Eclipse
c.  contributes the content under the EPL
Comment 2 Robin Stocker CLA 2010-11-06 12:03:02 EDT
(In reply to comment #1)
> Robin could you make the necessary confirmations for the IP review as a comment
> to this bug:
> 
> a.  authored 100%

I authored the whole change 100%.

> b.  has the rights to donate the content to Eclipse

I have the rights to donate the content to Eclipse.

> c.  contributes the content under the EPL

I contribute the content under the EPL.
Comment 3 Matthias Sohn CLA 2010-11-09 18:46:48 EST
merged as 6bbea8ebb8dfff86cdf8f8f6c6aa4582719eec0b