AutoIndents in RichEdit - Delphi 4.0
Posted on 2000-02-21
I'm creating an editor using a TRichEdit component in Delphi 4.0. I want to emulate the AutoIndent feature from the Delphi code editor. I've had no luck so far. I've been able to read the number of blanks from the last line typed but haven't been able to do anything with that information. Also, how to get the backspace key to go back incrementally through the indents?
Basically I don't think my approach is working so I'm looking for a ground up solution to this if possible. Any help would be greatly appreciated.
Thanks in advance.