Forum > SynEdit

Use similarly to a TEdit


Tony Stone:

I'm seeking advice on using a TSynEdit for a password generator application. Currently, I use a TEdit control but want to introduce character-specific color highlighting (e.g., letters in black, numbers in green, symbols in red). I find TSynEdit somewhat overkill for this purpose, especially since I need it to function like a single-line TEdit. I've also tried TRichMemo, but it's been problematic, particularly with Linux compilations.

Is there an alternative to TSynEdit or RichMemo that's more suitable for simple highlighting in a single-line edit control? My experience with RichMemo hasn't been ideal, as character-by-character highlighting performs poorly with long strings. Any suggestions for an edit control capable of changing text color would be greatly appreciated.


[0] Message Index

Go to full version