keep the same style in wxStyledTextCtrl.

here is another question on wxStyledTextCtrl.
if I set a sentence to a style and insert words into the sentence,then these
words have different style with the sentence.But I want to keep the words the
same style with the sentence,then I can handle the char event with
EVT_STC_CHARADDED,and get the style of the sentence then set the words to the
same style.But is there any convenient approach to do this?
Thanks in advance.

···

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

BruceKL WhoH:

if I set a sentence to a style and insert words into the sentence,then

these

words have different style with the sentence.But I want to keep the words

the

same style with the sentence,then I can handle the char event with
EVT_STC_CHARADDED,and get the style of the sentence then set the words to

the

same style.But is there any convenient approach to do this?

   Scintilla is designed for automatic styling of programming language
texts. While your envisaged use is possible, it is not within the design
centre of the project and so is not well supported.

   Neil