[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fixing cursor height when setting line-spacing
From: |
Eli Zaretskii |
Subject: |
Re: Fixing cursor height when setting line-spacing |
Date: |
Sat, 05 Aug 2023 10:01:59 +0300 |
> Date: Sat, 5 Aug 2023 11:14:15 +0530
> From: Karan Ahlawat <ahlawatkaran12@gmail.com>
>
> I set the line-height variable to be a positive integer (16). My
> cursor-type is set to t. Now, whenever I move the cursor to the end of a
> line, the height of the cursor is equal to the entire line height. But
> anywhere else on the line, it's equal to the height of the character
> under the cursor.
>
> I searched the mailing lists for some similar issue, and found one mail
> chain where it is described that since the EOL has no displayable glyph,
> the cursor height is set equal to the line height.
>
> I'd like this to always be the case, i.e, the cursor height to always be
> equal to the line height, EOL or not. This is a personal preference and
> so I don't think it is a bug, I just think it looks good in VSCode and
> other editors.
There's no such feature in Emacs, AFAIK. The default cursor is just
the character at point displayed in inverse video, so it always has
the dimensions of the character as its font provides them.
My question is why do you set line-height to a non-nil value? what do
you want to accomplish with that setting?
(Btw, there's no line-height variable, only line-height text
property.)
- Fixing cursor height when setting line-spacing, Karan Ahlawat, 2023/08/05
- Re: Fixing cursor height when setting line-spacing,
Eli Zaretskii <=
- Re: Fixing cursor height when setting line-spacing, Karan Ahlawat, 2023/08/05
- Message not available
- Re: Fixing cursor height when setting line-spacing, Eli Zaretskii, 2023/08/05
- Re: Fixing cursor height when setting line-spacing, Karan Ahlawat, 2023/08/05
- Re: Fixing cursor height when setting line-spacing, Eli Zaretskii, 2023/08/05
- Re: Fixing cursor height when setting line-spacing, Karan Ahlawat, 2023/08/05
- Re: Fixing cursor height when setting line-spacing, Eli Zaretskii, 2023/08/05
Re: Fixing cursor height when setting line-spacing, Yuri Khan, 2023/08/05