On Fri, Oct 08, 2004 at 12:16:22PM -0400, John Weiss wrote:
> Lars:
> 
> I've checked out the CVS head and built the doxygen srcdocs.  I'm
> still lost.
> 
> Can I have some hints on how "Buffer", "Paragraph", "Inset",
> et. al. fit together?

A 'Buffer' is basically a .lyx document. Associated to a 'Buffer' is
'LyXText', which can contain any number (>=1) of paragraphs. A
paragraph is a sequence of things which are either simple characters or
'insets'.  'insets' come in several varieties. There are simple insets
for certain special characters i.e. a forced newlines up to very complex
insets like tables or math. Some of these insets (e.g. tables) can
contain other LyXTexts which in turn contain one or more pararaphs with
characters and/or insets.

Font changes are fairly tricky as they are implemented not as insets but
in some kind of structure associated to paragraphs (although personally
I'd like them to become insets at some point of time I don't see this
happen during the next few years) 

Andre'

Reply via email to