[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jit-lock refontifies too much
From: |
martin rudalics |
Subject: |
Re: jit-lock refontifies too much |
Date: |
Thu, 15 Sep 2005 07:31:22 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> How 'bout the patch below instead?
>
>
> Stefan
>
>
> --- orig/lisp/font-lock.el
> +++ mod/lisp/font-lock.el
> @@ -1058,7 +1058,8 @@
> 'font-lock-multiline nil)
> (point-max)))
> (goto-char end)
> - (setq end (line-beginning-position 2))
> + ;; Round up to a whole line.
> + (unless (bolp) (setq end (line-beginning-position 2)))
> ;; Now do the fontification.
> (font-lock-unfontify-region beg end)
> (when font-lock-syntactic-keywords
>
>
... splendide
- jit-lock refontifies too much, martin rudalics, 2005/09/12
- Re: jit-lock refontifies too much, Stefan Monnier, 2005/09/12
- Re: jit-lock refontifies too much, martin rudalics, 2005/09/14
- Re: jit-lock refontifies too much, Stefan Monnier, 2005/09/14
- Re: jit-lock refontifies too much,
martin rudalics <=
- Re: jit-lock refontifies too much, Richard M. Stallman, 2005/09/19
- Re: jit-lock refontifies too much, Stefan Monnier, 2005/09/20
- Re: jit-lock refontifies too much, martin rudalics, 2005/09/21
- Re: jit-lock refontifies too much, Stefan Monnier, 2005/09/21
- Re: jit-lock refontifies too much, martin rudalics, 2005/09/22
- Re: jit-lock refontifies too much, Stefan Monnier, 2005/09/22
- Re: jit-lock refontifies too much, martin rudalics, 2005/09/25
- Re: jit-lock refontifies too much, Richard M. Stallman, 2005/09/26
- Re: jit-lock refontifies too much, martin rudalics, 2005/09/27
- Re: jit-lock refontifies too much, Richard M. Stallman, 2005/09/28