[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] Re: 2005-11-30; incorrect token highlighting after «
From: |
Werner LEMBERG |
Subject: |
Re: [Bug-AUCTeX] Re: 2005-11-30; incorrect token highlighting after « |
Date: |
Tue, 06 Dec 2005 12:45:22 +0100 (CET) |
> What I am thinking of is that when one of the quotation marks which
> can be used in French or German style is found the first time during
> fontification, the buffer will be searched from beginning to end for
> the first occurence of the quotation mark type and that will
> determine the style to be used. I think there has to be an extra
> search starting from the top of the buffer because with jit-lock
> fontification does not necessarily start at the top of a buffer. So
> the decision which quote style to use cannot be based on the first
> quotation mark found by fontification.
My knowledge of fontification is too limited to really help.
Perhaps a warning can be emitted if the fontified quotation becomes
too large, reminding the user to check whether «» or »« shall be used.
Werner