The main idea of the language IDE is to mark saved words and things like it. My question is, how do i handle this when i'm using richedit controls, how can I move inside the control to change the style of the text as it's been written by the user.

For example, the user writes "while" but not until the "e" is typed in will the word "while" become bold.

Is there any good way, or a specific technic to handle this kind of thing?

I would also appreciate any good online resource on richedit controls, if possible

Thank you.