1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
<document pattern="^.*\.(nsi)$">
<item name="options" casecare="0" wrap="0"></item>
<item name="keywords" type="keywords" color="keywords" fontstyle="bold">\b(abort|break|call|case|crccheck|createdirectory|default|do|else|endif|endswitch|endwhile|file|for|function|functionend|goto|if|installdir|insttype|loopuntil|name|name|next|outfile|outfile|page|pageex|pageexend|requestexecutionlevel|requestexecutionlevel|section|sectionend|sectionend|sectiongroup|sectionin|setcompressor|setoutpath|setshellvarcontext|showinstdetails|showuninstdetails|switch|var|while|writeregstr|writeuninstaller)\b</item>
<item name="instattrs" type="keywords" color="keywords">\b(addbrandingimage|allowrootdirinstall|autoclosewindow|bgfont|bggradient|brandingtext|caption|changeui|checkbitmap|completedtext|componenttext|crccheck|detailsbuttontext|dirtext|dirvar|dirverify|fileerrortext|icon|installbuttontext|installcolors|installdir|installdirregkey)\b</item>
<item name="funx" type="keywords" color="functions" fontstyle="bold">\b(createshortcut|delete|deleteregkey|detailprint|dialog|findwindow|getdlgitem|intcmp|intop|messagebox|readregstr|rmdir|sectiongettext|sendmessage|setctlcolors|strcpy)\b</item>
<item name="quotes" type="item" color="quotes">("[^\"]*")</item>
<item name="char" type="item" color="quotes">('[^']*')</item>
<item name="macro" type="item" color="preproc" fontstyle="italic">^\!.*</item>
<item name="single comment" type="item" color="single comment" fontstyle="italic">\;[^\n]*</item>
<item name="mcomment-start" type="mcomment-start" color="mcomment-start" fontstyle="italic">/\*</item>
<item name="mcomment-end" type="mcomment-end">\*/</item>
<item name="cm_single" type="comment">;%s</item>
</document>
|