Exemple #1
0
 // This will be triggered when an HTML document is opened
 public void VsTextViewCreated(IVsTextView textViewAdapter)
 {
     // If the Glyphs haven't been loaded, load them
     if (GlyphfriendPackage.Glyphs == null)
     {
         GlyphfriendPackage.LoadGlyphs();
     }
 }
Exemple #2
0
 // This will be triggered when an HTML document is opened
 public void VsTextViewCreated(IVsTextView textViewAdapter)
 {
     // If the Glyphs haven't been loaded, load them
     if (!GlyphfriendPackage.AreGlyphsLoaded)
     {
         GlyphfriendPackage.AreGlyphsLoaded = true;
         System.Threading.Tasks.Task.Run(() =>
         {
             GlyphfriendPackage.LoadGlyphs();
         });
     }
 }