[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong c
From: |
Eli Zaretskii |
Subject: |
bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position |
Date: |
Wed, 24 Mar 2021 20:25:13 +0200 |
> Date: Wed, 24 Mar 2021 17:38:41 +0000
> From: Julian Rohrhuber <rohrhuber@protonmail.com>
> Cc: 47360@debbugs.gnu.org
>
> When clicking into a text, at a random position, the position where the
> cursor jumps to is calculated. Now this is a bit subtle: when you click on a
> character, does the cursor jump to the left of that character or to its right?
>
> When in box mode, it jumps to the left, and here this is correct.
>
> But when in bar mode, it should jump to the right when the click is right of
> the middle of the character, and only left when to its left of the middle.
Why should it jump to the right? You click on a character, then point
is set _before_ that character (point is always between 2 characters
in Emacs). So the bar cursor will be to the left of that character.
> Instead, it also jumps to the left.
As I'd expect.
- bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position, Julian Rohrhuber, 2021/03/24
- bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position, Eli Zaretskii, 2021/03/24
- bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position, Julian Rohrhuber, 2021/03/24
- bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position,
Eli Zaretskii <=
- bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position, Lars Ingebrigtsen, 2021/03/24
- bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position, Julian Rohrhuber, 2021/03/24
- bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position, Julian Rohrhuber, 2021/03/27
- bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position, Eli Zaretskii, 2021/03/27
- bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position, Julian Rohrhuber, 2021/03/28
- bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position, Eli Zaretskii, 2021/03/28
- bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position, Julian Rohrhuber, 2021/03/28
- bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position, Julian Rohrhuber, 2021/03/28