Posted 19 years ago
by Maurizio Margiotta
-
Lead Programmer,
Evolution City Group S.a.s.

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:This generate a single file that contains VBScript, PHP, JScript and CSS languages.
In another project I do like this: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]
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);
In another project I do like this:
syntaxEditor1.Document.LoadLanguageFromXml(Application.StartupPath+@"\FullHTML.xml",0);
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]