I'm trying to set up a language file, but when I feed it the following file, it gives me a NullReferenceException (below):
<!-- lisp.xml -->
<SyntaxLanguage Key="lisp" LanguageDefinitionVersion="3.0" Secure="False" xmlns="http://ActiproSoftware/SyntaxEditor/3.0/LanguageDefinition">
<!-- Triggers -->
<Triggers>
<KeyPressTrigger Key="LamdbaListTrigger" Character="(">
<KeyPressTriggerValidStates>
<KeyPressTriggerValidState State="DefaultState" />
</KeyPressTriggerValidStates>
</KeyPressTrigger>
</Triggers>
</SyntaxLanguage>
System.NullReferenceException: Object reference not set to an instance of an object.
at ActiproSoftware.SyntaxEditor.SyntaxLanguage._1(SyntaxLanguageCollection )
at _26._1(XmlTextReader , String )
at ActiproSoftware.SyntaxEditor.SyntaxLanguage._1(Stream , Int32 )
at ActiproSoftware.SyntaxEditor.SyntaxLanguage.LoadFromXml(String path, Int32 encryptionKey)
at ActiproSoftware.SyntaxEditor.Document.LoadLanguageFromXml(String filename, Int32 encryptionKey)
at actiprotest.Form1.Form1_Load(Object sender, EventArgs e) in c:\temp\foo\actiprotest\actiprotest\form1.cs:line 29
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)