Rich text autoformat

  • Thread starter Thread starter jodleren
  • Start date Start date
J

jodleren

Hi all

I have a window with a RichEditBox which holds a JavaScript - I'd like
to format that when the user is writing something.
I used the TextChanged event to catch that, and I am able to format
the text - but it jumps and is slow.

Any ideas for this?

WBR
Sonnich
 
It's possible that you're simply using the Text property inefficiently
somehow, and that only by reducing overhead in your existing code paths,
it would work well enough.

If he's using the Text property then there's inefficiency right off the bat!
He should be using SelText to only modify a portion of the text. But I'm
willing to bet that alone won't solve the problem.

I have a feeling the roll-your-own-control route is going to end up being
the answer....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top