[Lazarus] Looking for a general text editor

Hans-Peter Diettrich DrDiettrich1 at aol.com
Mon Feb 13 11:41:20 CET 2012


Graeme Geldenhuys schrieb:

> Has anybody implemented a synedit (or other edit component) based
> general text editor (something like Syn on SourceForge - but it
> doesn't need to have that much functionality). I would like to get a
> replacement "general" text editor for gEdit and Kate. Preferably
> something light weight and fast, that can do search and replace and
> font customisation. I could put one together myself, but if somebody
> already done this, that would save me some time.

What's wrong with using a TMemo?

Text search and replacement can be added to every control containing 
text. Also the keyboard handling is configurable in almost every control.

More critical are text attributes, which must be supported by the 
control itself, but you didn't mention such a requirement.

Syntax highlighting were another topic, which should be supported by the 
control - but it also can be implemented by OwnerDraw.

DoDi





More information about the Lazarus mailing list