[Geany-devel] Reflow paragraph? - Re: Support SCI_LINESJOIN and SCI_LINESSPLIT (patch included)

Enrico Tröger enrico.troeger at xxxxx
Tue Jul 21 17:40:02 UTC 2009


On Tue, 21 Jul 2009 12:35:45 +0100, Nick wrote:

>Hi,
>Sorry for the late reply.
>
>On Mon, 13 Jul 2009 14:31:04 +0400
>Eugene Arshinov <earshinov at gmail.com> wrote:
>
>> I discovered that Geany doesn't provide key bindings for the 
>> abovementioned scintilla commands.  I think they are very useful
>> while editing text, or HTML, or other markup, especially when you
>> don't like when your text exceeds 80 char boundary (like me).  With
>> these shortcuts, you no longer need to manually reformat your text
>> after you make a slight change in it
>
>I had a look at the patch code, looks good. I use the
>'Edit->Format->Send selection to' command with the *nix 'fmt' program,
>but the code in your patch looks like it would be better as it handles
>indents too.
>
>Personally I'm not sure that separate Join and Split commands are
>necessary, but I could be wrong. Could you give a use case as to why
>it's better to have two commands instead of one 'Reflow paragraph /
>selected lines' command (called 'Fill paragraph' in NEdit)?
>
>If one command would be sufficient, I could use the patch code to make
>it. This would be a lot better than using 'fmt' as I wouldn't have to
>make a selection first.
>
>So I think a 'Reflow paragraph' command would be OK in the core; does
>this sound OK Enrico?

Yo, sure.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090721/ce47ef00/attachment.pgp>


More information about the Devel mailing list