[Lazarus] Console App Development

Martin Schreiber mse00000 at gmail.com
Sat Aug 13 20:43:33 CEST 2011


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




More information about the Lazarus mailing list