Hi Experts,
I had implemented a [designer] view, which uses the same textbuffer with a
[code] view. Furthermore, I had implemented a language service and
colorizer.
When I open a [designer] view or a [code] view, the
IVsLanguageInfo::GetColorizer will be called by system. However,
IVsColorizer::CloseColorizer method won't be called if I close the view.
Could anyone tell me about the usage of IVsColorizer::CloseColorizer
method.
Thanks,
Hercules
Chris Lovett - 27 Sep 2004 08:09 GMT
I'm seeing it get called on my colorizer when all views have been closed.
If it's not being called then perhaps someone is still holding a refcount on
the buffer when they shouldn't be.
> Hi Experts,
> I had implemented a [designer] view, which uses the same textbuffer with
[quoted text clipped - 9 lines]
> Thanks,
> Hercules
Hercules Zeng - 28 Sep 2004 08:04 GMT
Hi,
Thanks, but I had done a debug and I found the textbuffer's reference had
been released to zero. could you tell me details?
Thanks,
Hercules
> I'm seeing it get called on my colorizer when all views have been closed.
> If it's not being called then perhaps someone is still holding a refcount on
[quoted text clipped - 13 lines]
> > Thanks,
> > Hercules