[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Line wrap reconsidered
From: |
Eli Zaretskii |
Subject: |
Re: Line wrap reconsidered |
Date: |
Mon, 25 May 2020 22:23:41 +0300 |
> From: Yuan Fu <address@hidden>
> Date: Mon, 25 May 2020 14:13:04 -0400
>
> Here is what I come up with: in redisplay code, instead of only checking for
> whitespace, check for a ‘no-wrap text-property, if the character has this
> property, don’t wrap before[1] this character (or maybe it can be the
> opposite, only wrap when the character has a ‘can-wrap property). And this
> text property is calculated and applied once.
What are the use cases for such a feature?
> Is checking text property is fast enough for redisplay?
We do this all the time in the display code, so speed shouldn't be a
problem.
- Line wrap reconsidered, Yuan Fu, 2020/05/25
- Re: Line wrap reconsidered,
Eli Zaretskii <=
- Re: Line wrap reconsidered, Yuan Fu, 2020/05/25
- Re: Line wrap reconsidered, Ihor Radchenko, 2020/05/25
- Re: Line wrap reconsidered, Eli Zaretskii, 2020/05/26
- Re: Line wrap reconsidered, Ihor Radchenko, 2020/05/26
- Re: Line wrap reconsidered, Eli Zaretskii, 2020/05/26
- Re: Line wrap reconsidered, Ihor Radchenko, 2020/05/26
- Re: Line wrap reconsidered, Eli Zaretskii, 2020/05/26
- Re: Line wrap reconsidered, Stefan Monnier, 2020/05/26