Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / September 2004

Tip: Looking for answers? Try searching our database.

When will the IVsColorizer::CloseColorizer be called?  (VSIP)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hercules Zeng - 09 Sep 2004 09:49 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.