9front - general discussion about 9front
 help / color / mirror / Atom feed
From: igor@9lab.org
To: 9front@9front.org
Cc: umbraticus@prosimetrum.com
Subject: Re: [9front] [PATCH] rio(1): add triple-clicking and shift-up/down
Date: Fri, 05 Nov 2021 01:40:19 +0100	[thread overview]
Message-ID: <8293348E29722D25668BB3B02D1759F5@9lab.org> (raw)
In-Reply-To: <560B46E39B1DC0F1E9D0BCDE6ABE3B56@prosimetrum.com>

Quoth umbraticus@prosimetrum.com:
> +A third click can be done right after a double-clicking that selects an alphanumeric word,
> +it selects the word itself and the non-whitespace characters around it.
> 
> Sounds complicated and maybe slightly wrong
> (triple-click on +.+-+/+, for example); what about just:
> 
> Triple-clicking makes a selection bounded by whitespace.

While the above definition is simple and therefore appealing,
it is not entirely correct. Try triple clicking on `middle`:

• left(middle)right

…that will indeed make a selection bounded by whitespace.

Now try the same for `m` below:

• left(m)right

The selection after triple clicking on `m` is bounded by `(` and `)`,
not by whitespace. Unless I am missing something obvious it looks like
the logic for the triple click selection is not working as expected in
this case…

Cheers,
Igor


  parent reply	other threads:[~2021-11-05  0:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-04 22:49 Lucas de Sena
2021-11-04 23:22 ` umbraticus
2021-11-04 23:34   ` hiro
2021-11-05  0:22     ` umbraticus
2021-11-05  0:39       ` sl
2021-11-05  0:40   ` igor [this message]
2021-11-05 20:22     ` Lucas de Sena

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8293348E29722D25668BB3B02D1759F5@9lab.org \
    --to=igor@9lab.org \
    --cc=9front@9front.org \
    --cc=umbraticus@prosimetrum.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).