trichview.support
Re: AVs every time I try to change style |
Author |
Message |
Martin Holmes |
Posted: 11/27/2003 16:11:05 Sergey Tkachenko wrote: > Your code is correct, assuming that rvoTagsArePChars is NOT included in > rveMain.Options (otherwise tag value -1 passed in AddNLWTag would be > incorrect and can cause AV). That was it! rvoTagsArePChars was true. What threw me was that the AV didn't occur when adding the text using AddNLWTag; it only occurred later when I tried to assign a style to selected text. Perhaps passing -1 avoids an AV in AddNLWTag, but stores up trouble for later? Cheers, Martin |
Powered by ABC Amber Outlook Express Converter