No 'DefaultHighlightingStyle' was specified

SyntaxEditor for Windows Forms Forum

Posted 20 years ago by Maurizio Margiotta - Lead Programmer, Evolution City Group S.a.s.
Avatar
Hi, I'm trying to generate a single xml language file for HTML.

Looking to another post in this fourm I have written this code:

syntaxEditor1.Document.LoadLanguageFromXml(Application.StartupPath+@"\HTML.xml",0);
syntaxEditor1.Document.SaveLanguageToXml(Application.StartupPath+@"\FullHTML.xml",0);
This generate a single file that contains VBScript, PHP, JScript and CSS languages.

In another project I do like this:

syntaxEditor1.Document.LoadLanguageFromXml(Application.StartupPath+@"\FullHTML.xml",0);
But I receive this error:
No 'DefaultHighlightingStyle' was specified for the state 'DefaultState' in the language 'PHP'

The strange thing is that if I load the original HTML.xml file everything work well. So I can't find the problem.

Did you know if this Is a known issue? What I can do?

Thank you.

PS: I'm using SyntaxEditor v3.0.179.0 on Windows 2000 and .NET 1.1

[Modified at 01/25/2006 12:48 PM]

Comments (2)

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
I'm not aware of any issues... can you email us your language definition files so we can take a look?


Actipro Software Support

Posted 20 years ago by Maurizio Margiotta - Lead Programmer, Evolution City Group S.a.s.
Avatar
Like you ask me I have sent you an email.
The latest build of this product (v25.1.0) was released 25 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.