On Tue, Nov 27, 2001 at 12:58:39AM +1100, Ben Stanley wrote:
> Jean-Marc Lasgouttes wrote:
> 
> >Ben> I saw something about ERT being stored within the paragraph, but
> >Ben> in a special 'ERT' font. Is there any way that I could easily
> >Ben> enumerate all instances of ERT within a paragraph?
> >
> >No. That's probably a reason why the old erts were bad.
> >
> I'm going to have to add a public method to LyXParagraph to return the 
> pos of the next ERT from a given position. Perhaps I should just add an 
> ERT iterator?! That would be most efficient.
> 
> I was hoping not to touch LyXParagraph, but the information I need is 
> encapsulated in the private member FontList.

Why do you bother with the latex font property ?
It is not supported in 1.2.0 (only ERT insets).

Reply via email to