wx.stc: Lexer and highlighting additional text areas

Hello,

when a lexer is used for syntax highlighting,
and I want to mark a certain text area with a
certain color in the fashion of:

DrFrame.txtDocument.StartStyling(98, 0xff)
DrFrame.txtDocument.SetStyling(6, 1) # set style for 6 characters using
style 1

, it appears, that this is not
accepted or overwritten by the refresh of the lexer.

Only if I do not initialize the lexer, the
wanted text is colored.

Is there any way around?
(use lexer and mark some words at the same time)

Thank you!

ยทยทยท

--
Franz Steinhaeusler