[MonoDevelop] Adding a SyntaxMode XML file

Doug Blank doug.blank at gmail.com
Mon Jan 24 01:17:35 EST 2011


On Mon, Jan 24, 2011 at 12:52 AM, Michael Hutchinson
<m.j.hutchinson at gmail.com> wrote:
>
> On Jan 23, 2011 10:30 PM, "Doug Blank" <doug.blank at gmail.com> wrote:
>>
>> Is there a way to add a SyntaxMode XML file for a language after I
>> already have the Mono.TextEditor.dll built? I've tried putting an
>> additional SchemeSyntaxMode.xml file in the same directory, and in a
>> SyntaxModes directory, but it didn't use it. Or, is there a way to add
>> the xml file to the DLL?
>
> You can register it using an addin:
>
> <Extension path = "/MonoDevelop/SourceEditor2/SyntaxModes">
> <Templates resource="SomeSyntaxMode.xml" />
> </Extension>

I forgot to say that I'm not using MonoDevelop. Can I register the
.xml file just through Mono.TextEditor.dll? That is the only DLL that
I am currently using. (Just using the TextEditor in my own
application).

-Doug


More information about the Monodevelop-list mailing list