Re: [dev] [st] [PATCH] Make selection consistent over line breaks.

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Tue, 3 Jun 2014 17:55:53 +0200

On Tue, Jun 3, 2014 at 4:34 AM, Colona <colona_AT_ycc.fr> wrote:
> Currently, selection is expanded to the end of the line over line breaks only in
> regular selection mode, when the line in not empty and when going down and/or
> right. This covers all the cases including word selection mode, with the
> exception of rectangular selection because it would make this mode too rigid.
> This adjustment is made in selsort so I renamed it to selnormalize to better
> reflect what it does now.
>

I like it. The logic in getsel() can also use the tlinelen function. I
attached a patch which does this and removes a couple of lines. It
depends on both patches you sent.

Kind regards,
Hiltjo

Received on Tue Jun 03 2014 - 17:55:53 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 03 2014 - 18:00:09 CEST