Skip to content

Instantly share code, notes, and snippets.

@dietmarw
Forked from pclary/Modelica.xml
Created August 14, 2012 06:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save dietmarw/3346903 to your computer and use it in GitHub Desktop.
Save dietmarw/3346903 to your computer and use it in GitHub Desktop.
Modelica syntax highlighting for Notepad++
<NotepadPlus>
<UserLang name="Modelica" ext="mo">
<Settings>
<Global caseIgnored="no" />
<TreatAsSymbol comment="no" commentLine="yes" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">000000</Keywords>
<Keywords name="Folder+">function model for parfor block class connector record package</Keywords>
<Keywords name="Folder-">end for; parfor;</Keywords>
<Keywords name="Operators">- ( ) * , [ ] ^ { } + &lt; = &gt;</Keywords>
<Keywords name="Comment"> 1/* 1 2 2*/ 0//</Keywords>
<Keywords name="Words1">constant parameter loop if in while replaceable then else when when; redeclare</Keywords>
<Keywords name="Words2">Real Integer output input uniontype list String Option tuple Boolean parallel</Keywords>
<Keywords name="Words3">der exp sin cos type extends partial import abs log log10 connect</Keywords>
<Keywords name="Words4">algorithm equation protected public initial&#x000D;&#x000A;</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="FF0080" bgColor="FFFFFF" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="800040" bgColor="FFFFFF" fontName="" fontStyle="1" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="10" />
<WordsStyle name="NUMBER" styleID="4" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
</NotepadPlus>
@mromanoni
Copy link

Just added a fork with highlighting strings and string descriptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment