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....
 
Back
Top