Am Samstag 13 August 2011, 20:33:13 schrieb Martin:
> > MSEide does not store context for syntax highlighting after the source
> > has been colored. The editor grid stores "richstringty":
> > "
> > 
> >   richstringty = record
> >   
> >    text: msestring;
> >    format: formatinfoarty;
> >    flags: richflagsty;
> >   
> >   end;
> > 
> > "
> > "format" stores the color and font info of the string.
> 
> Well in a way that stores the info too. I assume you store the
> formatinfoarty  for the begin of each line?
> 
The source code is stored in a trichstringdatalist which is an array of 
richstringty, an array item is the text of a grid row.

> In that case it is pretty similar to SynEdit
> 
Probably.

Martin

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to