
I'm just starting a new project that relies on the WPF SyntaxEditor for editing scripts that are based on a custom, LISP-based language. The language definition that was set up yesterday seems to be working great, the colors are showing up appropriately, the whole deal; however, the built in CommentLines and UncommentLines in the EditorCommands do not seem to be working (they are disabled when the editor's document is loaded and remain disabled regardless). The other functions, such as Indent, work just fine.
One thing I noticed was that in the sample applications included with the Actipro installer, the same exact problem comes up. If you compile & run the project, open the 'SDI Code Editor' external example, and try commenting / uncommenting in the default C# Add-In language, no problems- it works like a charm. Once you select another language from the 'Language' menu item, however, it's gone. The Comment and Uncomment buttons are disabled and will not ever function.
This may be unrelated, but I thought it worth mentioning. Is there something I ought to be investigating inside of my language definition?
Regards,
Evan
One thing I noticed was that in the sample applications included with the Actipro installer, the same exact problem comes up. If you compile & run the project, open the 'SDI Code Editor' external example, and try commenting / uncommenting in the default C# Add-In language, no problems- it works like a charm. Once you select another language from the 'Language' menu item, however, it's gone. The Comment and Uncomment buttons are disabled and will not ever function.
This may be unrelated, but I thought it worth mentioning. Is there something I ought to be investigating inside of my language definition?
Regards,
Evan