Page 3 of 3

Re: Forward DEL

Posted: Sat Jul 25, 2020 3:14 pm
by SparkOut
Daft is possible, but Brian's explanation really made it make sense to me.

Re: Forward DEL

Posted: Sat Jul 25, 2020 6:20 pm
by jacque
@Craig, think of it in terms of pixels which is how the engine would calculate it. In that perspective Brian's explanation makes it clear why the numbers are reversed. I confess I never thought of it that way but Brian's head usually operates closer to the metal than mine.

Re: Forward DEL

Posted: Sat Jul 25, 2020 6:27 pm
by dunbarx
Hmmm.

Make sense? It is a convention, consistent and precise, but it doesn't make "sense".
hink of it this way:
The first number indicates the start of the selection highlight (i.e. the left of the indicated character)
The second number indicates the end of the selection highlight (i.e. the right of the indicated character)
A blinking cursor does not "include" either of its neighbors, though each neighbor does bracket its location. In that sense, when Brian says "the left of the indicated character, I guess that means "left of, but not including" that character. But not really the "start of the selection".

Well and good. This is all academic syntactic hubbub, none of it "daft", Richmond notwithstanding.

I see the reversal of the order as simply a construct indicating a selection of zero length, a blinker, and its bracketing chars. I got used to it long ago, as Jacque mentioned, in HC.

Craig