Feature #790

CodeEditor should support XML Schema highlight

Added by Zbigniew Rebacz almost 10 years ago. Updated almost 10 years ago.

Status:ApprovedStart date:06/10/2014
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:CodeEditorSpent time:-
Target version:-

Description

I think CodeEditor should also highlighting XML Schema files (.xsd extension):

----------------------------------------------------------
Changes:

ide/Common - ComDlg.cpp - line 30:

if(ext == ".xml" || ext == ".xsd")

ide/Common - ComDlg.cpp - line 114:

String mask = "*.cpp *.h *.hpp *.c *.C *.cc *.cxx *.icpp *.lay *.iml *.lng *.sch *.usc *.rc *.brc *.upt *.html *.js *.css *.witz *.json *.xml *.xsd *.qtf";

CodeEditor - CRegister.iccp

EditorSyntax::Register("xml", callback1(CreateTagSyntax, false), "*.xml *.xsd", "XML (.xml)");

----------------------------------------------------------

P.S.
XML Schema has got exactly the same highlight as XML. So we don't need to change any CodeEditor core components.

P.S. 2
More about XML schema you can find on following websites:
http://en.wikipedia.org/wiki/Xml_schema
http://www.w3schools.com/Schema/

History

#1 Updated by Miroslav Fidler almost 10 years ago

  • Status changed from Patch ready to Approved

Thanks, applied.

Also available in: Atom PDF