; EmEditor Syntax File ; ; To import this file to an existing configuration, select Configuration ; under the Tool menu, select Define Configurations, select a configuration ; you want to import to, press [Properties], select the Highlight page, and ; press [Import]. ; ; Submit your customized file to submit@emurasoft.com ; to be listed in www.emurasoft.com user files pages. ; ; Author: Shao Hao ; 2005/02/18 v1.1 Support NSIS v2.10 #Highlight=on #BeginTag= #EndTag= #CommentBegin=/* #CommentEnd=*/ #LineComment1=^; #LineComment2=^# #SingleQuote=on #DoubleQuote=on #ContinueQuote=off #Escape=\ #ScriptBegin= #ScriptEnd= #SpecialSyntax=off #HighlightBraces=off ; for Variables #Keyword color=4,word=on,rightall=off,case=off,insidetag=off,regexp=off Var ; for Pages #Keyword color=4,word=on,rightall=off,case=off,insidetag=off,regexp=off Page UninstPage PageEx PageExEnd PageCallbacks ; for Sections #Keyword color=3,word=on,rightall=off,case=off,insidetag=off,regexp=off AddSize Section SectionEnd SectionIn SectionGroup SectionGroupEnd ; for Functions #Keyword color=3,word=on,rightall=off,case=off,insidetag=off,regexp=off Function FunctionEnd ; for Installer Attributes #Keyword color=4,word=on,rightall=off,case=off,insidetag=off,regexp=off ; General Attributes AddBrandingImage AllowRootDirInstall AutoCloseWindow BGFont BGGradient BrandingText Caption ChangeUI CheckBitmap CompletedText ComponentText CRCCheck DetailsButtonText DirText DirVar DirVerify FileErrorText Icon InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType LicenseBkColor LicenseData LicenseForceSelection LicenseText MiscButtonText Name OutFile SetFont ShowInstDetails ShowUninstDetails SilentInstall SilentUnInstall SpaceTexts SubCaption UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText WindowIcon XPStyle ; Compiler Flags AllowSkipFiles FileBufSize SetCompress SetCompressor SetCompressorDictSize SetDatablockOptimize SetDateSave SetOverwrite SetPluginUnload ; Version Information VIAddVersionKey VIProductVersion ; for Instructions #Keyword color=4,word=on,rightall=off,case=off,insidetag=off,regexp=off ; Basic Instructions Delete Exec ExecShell ExecWait File Rename ReserveFile RMDir SetOutPath ; Registry, INI, File Instructions DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue EnumRegKey EnumRegValue ExpandEnvStrings FlushINI ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr WriteINIStr WriteRegBin WriteRegDWORD WriteRegStr WriteRegExpandStr ;General Purpose Instructions CallInstDLL CopyFiles CreateDirectory CreateShortCut GetDLLVersion GetDLLVersionLocal GetFileTime GetFileTimeLocal GetFullPathName GetTempFileName SearchPath SetFileAttributes RegDLL UnRegDLL ; Flow Control Instructions Abort Call ClearErrors GetCurrentAddress GetFunctionAddress GetLabelAddres Goto IfAbort IfErrors IfFileExists IfRebootFlag IfSilent IntCmp IntCmpU MessageBox Return Quit SetErrors StrCmp ; File Instructions FileClose FileOpen FileRead FileReadByte FileSeek FileWrite FileWriteByte FindClose FindFirst FindNext ; Uninstaller Instructions WriteUninstaller ; Miscellaneous Instructions GetErrorLevel GetInstDirError InitPluginsDir SetErrorLevel SetShelllVarContext Sleep ; StringManipulation Instructions StrCpy StrLen ; Stack Support Exch Pop Push ; Integer Support IntFmt IntOp ; Reboot Instructions Reboot SetRebootFlag ; Install Logging Instructions LogSet LogText ; Section Management SectionSetFlags SectionGetFlags SectionSetText SectionGetText SectionSetInstTypes SectionGetInstTypes SectionSetSize SectionGetSize SetCurInstType GetCurInstType InstTypeSetText InstTypeGetText ; User Interface Instructions BringToFront CreateFont DetailPrint EnableWindow FindWindow GetDlgItem HideWindow IsWindow LockWindow SendMessag SetAutoClose SetBrandingImage SetDetailsView SetDetailsPrint SetCtlColors SetSilent ShowWindow ; Multiple Languages Instructions LoadLanguageFile LangString LicenseLangString ; for Parameters #Keyword color=5,word=on,rightall=off,case=off,insidetag=off,regexp=off ; Variables /GLOBAL ; Pages custom license components directory instfiles uninstConfirm ; Sections /o RO /e ; Installer Attributes left right top bottom true false /ITALIC /UNDERLINE /STRIKE off notext /TRIMLEFT /TRIMRIGHT /TRIMCENTER IDD_LICENSE IDD_DIR IDD_SELCOM IDD_INST IDD_INSTFILES IDD_UNINST IDD_VERIFY on force auto leave /windows smooth colored /NOCUSTOM /COMPONENTSONLYONCUSTOM /gray checkbox radiobuttons hide show nevershow normal silent silentlog /SOLID /FINAL zlib bzip2 lzma try ifnewer ifdiff lastused manual alwaysoff ; for Instructions /REBOOTOK SW_SHOWNORMAL SW_SHOWMAXIMIZED SW_SHOWMINIMIZED SW_HIDE /nonfatal /a /r /x /ifempty HKCR HKEY_CLASSES_ROOT HKLM HKEY_LOCAL_MACHINE HKCU HKEY_CURRENT_USER HKU HKEY_USER HKCC HKEY_CURRENT_CONFIG HKDD HKEY_DYN_DATA HKPD HKEY_PERFORMANCE_DATA SHCTX SHELL_CONTEXT /NOUNLOAD /SILENT /FILESONLY /SHORT NORMAL FILE_ATTRIBUTE_NORMAL ARCHIVE FILE_ATTRIBUTE_ARCHIVE HIDDEN FILE_ATTRIBUTE_HIDDEN OFFLINE FILE_ATTRIBUTE_OFFLINE READONLY FILE_ATTRIBUTE_READONLY SYSTEM FILE_ATTRIBUTE_SYSTEM TEMPORARY FILE_ATTRIBUTE_TEMPORARY /SD MB_OK MB_OKCANCEL MB_ABORTRETRYIGNORE MB_RETRYCANCEL MB_YESNO MB_YESNOCANCEL MB_ICONEXCLAMATION MB_ICONINFORMATION MB_ICONQUESTION MB_ICONSTOP MB_TOPMOST MB_SETFOREGROUND MB_RIGHT MB_RTLREADING MB_DEFBUTTON1 MB_DEFBUTTON2 MB_DEFBUTTON3 MB_DEFBUTTON4 IDABORT IDCANCEL IDIGNORE IDNO IDOK IDRETRY IDYES SET CUR END current all /RESIZETOFIT none listonly textonly both lastused /BRANDING transparent ; for some special parameter #Keyword color=5,word=off,rightall=off,case=off,insidetag=off,regexp=off /CUSTOMSTRING= /LANG= /oname= /TIMEOUT= /IMGID= ; for Compile Time Commands #Keyword color=6,word=on,rightall=off,case=off,insidetag=off,regexp=off ; Compiler Utility Commands !include !addincludedir !addplugindir !cd !echo !error !execute !packhdr !system !warning !verbose ; Predefines ${__FILE__} ${__LINE__} ${__DATE__} ${__TIME__} ${__TIMESTAMP__} ; Conditional Compilation !define !undef !ifdef !ifndef !ifmacrodef !ifmacrondef !else !endif !insertmacro !macro !macroend ; Variables, Symbols, Language Strings #Keyword color=7,word=on,rightall=off,case=on,insidetag=off,regexp=on \$[a-zA-Z_][a-zA-Z_0-9]* #Keyword color=7,word=on,rightall=off,case=off,insidetag=off,regexp=on \$[[:digit:]] \$R[[:digit:]] \$(?=\{(?!(__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__))\}) \$(?=\() ; for Labels #Keyword color=2,word=on,rightall=off,case=off,insidetag=off,regexp=on ; Labels should be ended by ":" but not begin with a -, +, !, $, or 0-9 ; Now just use variable as label [a-zA-Z_][a-zA-Z_0-9]*: