Sujet : Re: A Mandelbrot set generator in HG LISP
De : monnier (at) *nospam* iro.umontreal.ca (Stefan Monnier)
Groupes : comp.lang.lispDate : 16. Apr 2025, 01:03:04
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <jwvzfghvuv9.fsf-monnier+comp.lang.lisp@gnu.org>
References : 1 2 3 4
User-Agent : Gnus/5.13 (Gnus v5.13)
Turns out it’s a bit strange: you have to position the cursor *on* an
opening parenthesis in order for it to highlight the corresponding closer,
but *after* the closing parenthesis for it to highlight the corresponding
opener.
Actually, "point" is never "on" a character, it's always between characters.
So in both cases "point" needs to be outside of the parenthesis.
It's perfectly symmetrical.
It's just that the cursor by default is a block drawn on the character
that follows the actual placement of "point". Try to switch to a bar
cursor and that should be more clear.
Stefan