<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -75,6 +75,9 @@ namespace Winterdom.VisualStudio.Extensions.Text {
 
          ILanguageKeywords keywords = 
             GetKeywordsByContentType(span.Snapshot.TextBuffer.ContentType);
+         if ( keywords == null ) {
+            return list;
+         }
 
          // ... and from those, ones that match our keywords
          var controlFlowSpans = from kwSpan in classifiedSpans
@@ -107,7 +110,10 @@ namespace Winterdom.VisualStudio.Extensions.Text {
          } else if ( contentType.TypeName == Cpp.ContentType ) {
             return new Cpp();
          }
-         throw new InvalidOperationException(&quot;Running into an unsupported editor&quot;);
+         // VS is calling us for the &quot;CSharp Signature Help&quot; content-type
+         // which we didn't ask for. Argh!!!
+         // throw new InvalidOperationException(&quot;Running into an unsupported editor&quot;);
+         return null;
       }
    }
 }</diff>
      <filename>KeywordClassifier.cs</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>77e5c6c7d64d9928fe75d115b327ac2fc072b935</id>
    </parent>
  </parents>
  <author>
    <name>Tomas Restrepo</name>
    <email>tomas@winterdom.com</email>
  </author>
  <url>http://github.com/tomasr/KeywordClassifier/commit/7208c2b15a85bc5792705df4acfa450de09a50a8</url>
  <id>7208c2b15a85bc5792705df4acfa450de09a50a8</id>
  <committed-date>2009-10-20T12:25:09-07:00</committed-date>
  <authored-date>2009-10-20T12:25:09-07:00</authored-date>
  <message>Fix VS crash caused by invalid content-type</message>
  <tree>21a903540357d88a3125a44013bb5ddbc8873d43</tree>
  <committer>
    <name>Tomas Restrepo</name>
    <email>tomas@winterdom.com</email>
  </committer>
</commit>
