|
From: | Dmitry Gutov |
Subject: | Re: Major modes using `widen' is a good, even essential, programming practice. |
Date: | Sun, 7 Aug 2022 22:26:20 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
On 07.08.2022 22:20, Alan Mackenzie wrote:
The search for line boundaries is done by font-lock.el.I don't trust it to DTRT when lines are very long.I think I raised the topic a few days ago of font-lock expanding regions to whole lines. Maybe we shouldn't do it for long lines. We'd need something in its place, though.
See the recent addition of syntax-wholeline-max.
[Prev in Thread] | Current Thread | [Next in Thread] |