[Geany-devel] Reflow & long lines

Lex Trotman elextr at xxxxx
Tue Sep 22 22:19:05 UTC 2009


2009/9/23 Nick Treleaven <nick.treleaven at btinternet.com>:
> On Tue, 22 Sep 2009 22:32:50 +1000
> Lex Trotman <elextr at gmail.com> wrote:
>
>> >> BUT, I don't know a case when it's useful to set line break column and
>> >> long-line column to different values. As to me, I'd prefer this to be
>> >> one setting.
>> >
>> > Me too. Maybe that's the reason why I never recognized this berfore.
>>
>> Yes, the defaults are the same so its likely not to notice. But they
>> have different uses.
>>
>> For code I use long lines set to 100 and no automatic breaking (since
>> it *never* happens in the right place in code :-) ( "100 or so" also
>> happens to be Geany's recommended code line length)
>>
>> For text (eg Geany.txt) I use line break on at 70 and auto break on,
>> since 70 or so is the recommended maximum text line size for
>> readability.  Thats why I would like reflow to go to the same limit. I
>> use it only in text not in code.
>
> Me too.
>
>> I think Eugene's suggestion of using line break when auto breaking is
>> on and long line otherwise is a good one.  It provides the best of
>> both worlds without much complexity.
>
> Sounds good.
>

Ok, here is Eugene's change as a patch.

Cheers
Lex

> Regards,
> Nick
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reflow.diff
Type: text/x-patch
Size: 1448 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090923/9f23a22f/attachment.bin>


More information about the Devel mailing list