[lazarus] Editor
Curtis White
osiriz at teleport.com
Sun Oct 17 14:42:35 EDT 1999
On 17-Oct-99 Sebastian Günther wrote:
>
> Probably it would be the best when TSHTextEdit doesn't derive from any
> class and to introduce a 'rendering engine' class (TSHRenderer or
> similar). TSHTextEdit would get a 'property Renderer: TRenderer' then.
>
Oh, OK. I understand now. This way it would be a completely standalone
component. That would work very nice. Then we could just put it on a TForm or
TNotebook page in Lazarus and it would work. That would be great.
>
> I will simply remove all KCL dependencies and write a simple demo
> TSHRenderer implementation.
>
That would be very helpful.
>
>> You would probably need to be the one to create this abstract class since
>> you
>> know what all SHEdit needs from it in order to work. Would you be willing to
>> create that abstract class?
>
> Yes, but this will take 1-2 days.
>
That would be great. Then we could just implement that class using Lazarus
components and ways of doing things and you could implement it the KCL way in
Kassandra. That would allow both projects to use the same edit control. That
would be really good.
BTW, does SHEdit have a way to do Syntax Highlighting of pascal source code?
I'm sure it does because it did in the version from your web site. But I didn't
see the pascal highlighting code in the version you just sent to the list. Does
the new editor work the same way or how does the pascal syntax highlighting work
in the new editor?
Also, can we do XML highlighting (I think we are doing our forms in XML) in
SHEdit?
If there is anything I can do to help, let me know.
Curtis
More information about the Lazarus
mailing list