Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329489 - Optionally hard-wrap commit message
Summary: Optionally hard-wrap commit message
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.10.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 16:26 EDT by Matthias Sohn CLA
Modified: 2010-11-09 18:46 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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