Commit-message linebreaks

Sven Brauch svenbrauch at googlemail.com
Sun Jun 26 17:06:38 UTC 2011


vi does it like this: after 72 chars, it adds an automatic linebreak
after the most recent space, but you can remove it to force the line
being longer. Again, I think that's the right way to do it. :)

2011/6/26 David Nolden <zwabel at googlemail.com>:
> 2011/6/26 Niko Sams <niko.sams at gmail.com>:
>> The previous situation was very bad as the user gets the impression automatic
>> breaks happen - but they don't (in the message itself).
>>
>> It should not be dependent on the current width of the widget, but should
>> depend wrap an fixed position (eg. 72 chars).
>> That could be easy to do with QTextEdit::FixedColumnWidth.
>> Tough I'm not sure if every project does have this 72 chars limit?
>
> Btw. there are also people who don't have 1600x1200 screens, and where
> even the 72 lines won't fit into the commit-message box. I think it's
> bad to create UIs that don't scale (up as well as down). Therefore, I
> think we should use automatic linebreaks, because it's the only
> solution that scales, and that gives the user the freedom to decide by
> himself how he wants to format the commit-messages.
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>




More information about the KDevelop-devel mailing list