[Lazarus] Displaying text with colour and insertion point

Martin Schreiber mse00000 at gmail.com
Thu May 17 08:35:59 CEST 2012


On Wednesday 16 May 2012 19:37:16 Mark Morgan Lloyd wrote:
>
> It sounds like a lot of work, shoehorning something which isn't really
> its forte into Synedit.
>
> Before anything more, I'll drop a note to Cmdline's author (if he's not
> in here already) and see if he's got any suggestions.
>
> Otherwise, can anybody say whether are there any stringgrid derivatives
> etc. that will do this?

It probably will not help you but MSEgui has "tterminal" for the purpose. It 
is based on the "tcustomtextedit" widget. "tcustomtextedit" and its 
descendents (ttextedit, tundotextedit, tsyntaxedit, tterminal...) should be 
placed into a "twidgetgrid" and builds a text editor column in the grid. The 
underlying cell datatype is "richstringty", a UnicodeString with per 
character font style and color info. tterminal can start processes and read 
and write pipes.

Martin




More information about the Lazarus mailing list