troubleshooting Question

Replace Line At Cursor in RichEdit

Avatar of Romans
Romans asked on
DelphiEditors IDEs
9 Comments1 Solution1518 ViewsLast Modified:
Hello,
I am working with the RichEdit component - and I would like to be able to replace the line at the cursor - with another line. For example the RichEdit may contain

Line 1     Hello experts. I would like some help with
Line 2     some code to make my software work the
Line 3     way I need it to. I would appreciate all the
Line 4     help you your expertise has to offer.


Ok - so if my cursor is at Line 2 - I would like to replace the entire line "some code to make my software work the" with new text.

Remeber - the new text could contain some rich text codes (color etc). I am assigning this a high number of points because I would like to have some working code.

Regards
Romans
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros