// ===============================================================================
// -*- DATA:INI:EDT -*-
//
// WinEdt Main Menu
//
// ===============================================================================

[BUILD]

REQUIRES=20170214

// ===============================================================================

[MAIN_MENU]

// Change this option if you have problems with menu appearance...
CUSTOM_MENU_DRAWING=0
ENABLE_MENU_IMAGES=1

// A fix for dpi-dependent MDI system menu buttons:
// Windows paints them too small on high dpi...
CUSTOM_MDI_BUTTONS=1

// Hot Keys and Shortcuts
AUTOMATIC_HOT_KEYS=1
PERSISTENT_SHORTCUTS=0

// Allow AltGr shortcuts?
ALLOW_ALTGR_SHORTCUTS=1

// Cancel Key!
CANCEL_KEY="8219::Shift+Esc"

// Special (sub)menus where file lists are maintained
FILE_MENU="Recent_Files_List>"
PROJECT_MENU="Recent_Projects_List>"
WINDOWS_MENU="MDI_Windows>"

MENU="Popups"
  CAPTION="Popups"
  INVISIBLE=1
  ITEM="$Grave"
    CAPTION="Grave"
    MACRO="Popup('Grave');"
    SHORTCUT="16576::Ctrl+`"
    REQ_DOCUMENT=1
  ITEM="$Tilde"
    CAPTION="Tilde"
    MACRO="Popup('Tilde');"
    SHORTCUT="24768::Shift+Ctrl+`"
    REQ_DOCUMENT=1
  ITEM="$Acute"
    CAPTION="Acute"
    MACRO="Popup('Acute');"
    SHORTCUT="16606::Ctrl+'"
    REQ_DOCUMENT=1
  ITEM="$Umlaut"
    CAPTION="Umlaut"
    MACRO="Popup('Umlaut');"
    SHORTCUT="24798::Shift+Ctrl+'"
    REQ_DOCUMENT=1
  ITEM="$Circumflex"
    CAPTION="Circumflex"
    MACRO="Popup('Circumflex');"
    SHORTCUT="24762::Shift+Ctrl+;"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="$Bookmarks"
    CAPTION="Bookmarks"
    MACRO="Popup('Bookmarks');"
    SHORTCUT="32955::Alt+="
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="$Bibtex"
    CAPTION="BibTeX"
    MACRO="Popup('BibTeX Items');"
    SHORTCUT="32834::Alt+B"
    REQ_DOCUMENT=1
    REQ_FILTER=:"%!m=BibTeX"
  ITEM="-"
  ITEM="$Greek"
    CAPTION="Greek"
    MACRO="Popup('Greek');"
    SHORTCUT="32839::Alt+G"
    REQ_DOCUMENT=1
    REQ_FILTER=:"%!m=TeX"?"%!m=BibTeX"?"%!m=MetaPost"
  ITEM="-"
  ITEM="$EDT-RCS"
    CAPTION="RCS"
    MACRO="Popup('Edt RCS');"
    REQ_DOCUMENT=1
    REQ_FILTER=:"%!m=TeX"
  ITEM="-"
  ITEM="$Font"
    CAPTION="Font"
    MACRO="Exe('%b\Menus\Popups\Font.edt');"
    REQ_DOCUMENT=1
  ITEM="$Insert_Font"
    CAPTION="Insert Font"
    MACRO="Exe('%b\Menus\Popups\Insert Font.edt');"
    REQ_DOCUMENT=1
  ITEM="$Change_Font"
    CAPTION="Change Font"
    MACRO="Exe('%b\Menus\Popups\Change Font.edt');"
    REQ_DOCUMENT=1
  ITEM="$Environments"
    CAPTION="Environments"
    MACRO="Exe('%b\Menus\Popups\Environments.edt');"
    REQ_DOCUMENT=1
END="Popups"

MENU="Shortcuts"
  CAPTION="Shortcuts"
  INVISIBLE=1
  ITEM="$Fold_All"
    CAPTION="Fold All"
    MACRO="FoldNodes(1,1);"
    SHORTCUT="16502::Ctrl+F7"
    REQ_DOCUMENT=1
  ITEM="$Unfold_All"
    CAPTION="Unfold All"
    MACRO="UnfoldNodes(1,1);"
    SHORTCUT="24694::Shift+Ctrl+F7"
    REQ_DOCUMENT=1
  ITEM="$Fold_Surrounding_Nodes"
    CAPTION="Fold Surrounding Nodes"
    MACRO="FoldNodes(1,1,'',1);"
    SHORTCUT="8310::Shift+F7"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="$Toggle_Insert/Overwrite"
    CAPTION="Toggle Insert/Overwrite"
    MACRO="SetInsert;"
    REQ_DOCUMENT=1
  ITEM="$Toggle_Line/Block"
    CAPTION="Toggle Line/Block"
    MACRO="SetBlock;"
    REQ_DOCUMENT=1
  ITEM="$Toggle_Indent_Mode"
    CAPTION="Toggle Indent Mode"
    MACRO="SetIndent;"
    REQ_DOCUMENT=1
  ITEM="$Toggle_Auto_Spell"
    CAPTION="Toggle Auto Spell"
    MACRO="SetSpell;"
    REQ_DOCUMENT=1
  ITEM="$Toggle_Wrap/NoWrap"
    CAPTION="Toggle Wrap/NoWrap"
    MACRO="SetWrap;"
    SHORTCUT="16471::Ctrl+W"
    REQ_DOCUMENT=1
  ITEM="Format_Paragraph_Shortcut"
    CAPTION="Format Paragraph"
    MACRO="Exe('%b\Menus\Edit\Format Paragraph.edt');"
    SHORTCUT="24663::Shift+Ctrl+W"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="$Escape"
    CAPTION="Escape"
    MACRO="Exe('%b\Menus\Shortcuts\Escape.edt');"
    SHORTCUT="27::Esc"
  ITEM="$Cancel"
    CAPTION="Cancel"
    MACRO="Cancel;"
    SHORTCUT="8219::Shift+Esc"
  ITEM="$Enter"
    CAPTION="Enter"
    MACRO="Exe('%b\Menus\Shortcuts\Enter.edt');"
    SHORTCUT="13::Enter"
    REQ_DOCUMENT=1
  ITEM="$Enter_(%%)"
    CAPTION="Enter (%%)"
    MACRO="IfisMode('TeX','%!m',!'Ins(!|%%|);');Enter;"
    SHORTCUT="24589::Shift+Ctrl+Enter"
    REQ_DOCUMENT=1
  ITEM="$Backspace"
    CAPTION="Backspace"
    MACRO="Exe('%b\Menus\Shortcuts\Backspace.edt');"
    SHORTCUT="8::BkSp"
    REQ_DOCUMENT=1
  ITEM="$Backspace_+_Shift"
    CAPTION="Backspace + Shift"
    MACRO="Exe('%b\Menus\Shortcuts\Backspace.edt');"
    SHORTCUT="8200::Shift+BkSp"
    REQ_DOCUMENT=1
  ITEM="$Indent"
    CAPTION="Indent"
    MACRO="Exe('%b\Menus\Shortcuts\Indent.edt');"
    SHORTCUT="9::Tab"
    REQ_DOCUMENT=1
  ITEM="$Unindent"
    CAPTION="Unindent"
    MACRO="Exe('%b\Menus\Shortcuts\Unindent.edt');"
    SHORTCUT="8201::Shift+Tab"
    REQ_DOCUMENT=1
  ITEM="$Insert"
    CAPTION="Insert"
    MACRO="Exe('%b\Menus\Shortcuts\Insert.edt');"
    SHORTCUT="45::Ins"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="$Transpose_Chars"
    CAPTION="Transpose Chars"
    MACRO="Exe('%b\Menus\Shortcuts\TransposeChars.edt');"
    SHORTCUT="16468::Ctrl+T"
    REQ_DOCUMENT=1
  ITEM="$Delete_Line"
    CAPTION="Delete Line"
    MACRO="DeleteLine;"
    SHORTCUT="16459::Ctrl+K"
    REQ_DOCUMENT=1
  ITEM="$Clear_Line"
    CAPTION="Clear Line"
    MACRO="ClearLine;"
    SHORTCUT="24651::Shift+Ctrl+K"
    REQ_DOCUMENT=1
  ITEM="$Clear_Right"
    CAPTION="Clear Right"
    MACRO="ClearRight;"
    SHORTCUT="40995::Shift+Alt+End"
    REQ_DOCUMENT=1
  ITEM="$Clear_Left"
    CAPTION="Clear Left"
    MACRO="ClearLeft;"
    SHORTCUT="40996::Shift+Alt+Home"
    REQ_DOCUMENT=1
  ITEM="$Select_Word"
    CAPTION="Select Word"
    MACRO="Exe('%b\Menus\Shortcuts\Select Word.edt');"
    REQ_DOCUMENT=1
  ITEM="$Delete_Word"
    CAPTION="Delete Word"
    MACRO="Exe('%b\Menus\Shortcuts\Delete Word.edt');"
    REQ_DOCUMENT=1
  ITEM="$Delete_Word_Right"
    CAPTION="Delete Word Right"
    MACRO="Exe('%b\Menus\Shortcuts\Delete Word Right.edt');"
    SHORTCUT="16430::Ctrl+Del"
    REQ_DOCUMENT=1
  ITEM="$Delete_Word_Left"
    CAPTION="Delete Word Left"
    MACRO="Exe('%b\Menus\Shortcuts\Delete Word Left.edt');"
    SHORTCUT="16392::Ctrl+BkSp"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="$Char_Right"
    CAPTION="Char Right"
    MACRO="IfScrollLock(!'ScrollRight(1);',!'CharRight;');"
    SHORTCUT="39::Right"
    REQ_DOCUMENT=1
  ITEM="$Select_Char_Right"
    CAPTION="Select Char Right"
    MACRO="SelCharRight;"
    SHORTCUT="8231::Shift+Right"
    REQ_DOCUMENT=1
  ITEM="$Char_Left"
    CAPTION="Char Left"
    MACRO="IfScrollLock(!'ScrollLeft(1);',!'CharLeft;');"
    SHORTCUT="37::Left"
    REQ_DOCUMENT=1
  ITEM="$Select_Char_Left"
    CAPTION="Select Char Left"
    MACRO="SelCharLeft;"
    SHORTCUT="8229::Shift+Left"
    REQ_DOCUMENT=1
  ITEM="$Word_Right"
    CAPTION="Word Right"
    MACRO="Exe('%b\Menus\Shortcuts\Word Right.edt');"
    SHORTCUT="16423::Ctrl+Right"
    REQ_DOCUMENT=1
  ITEM="$Select_Word_Right"
    CAPTION="Select Word Right"
    MACRO="Exe('%b\Menus\Shortcuts\Select Word Right.edt');"
    SHORTCUT="24615::Shift+Ctrl+Right"
    REQ_DOCUMENT=1
  ITEM="$Word_Left"
    CAPTION="Word Left"
    MACRO="Exe('%b\Menus\Shortcuts\Word Left.edt');"
    SHORTCUT="16421::Ctrl+Left"
    REQ_DOCUMENT=1
  ITEM="$Select_Word_Left"
    CAPTION="Select Word Left"
    MACRO="Exe('%b\Menus\Shortcuts\Select Word Left.edt');"
    SHORTCUT="24613::Shift+Ctrl+Left"
    REQ_DOCUMENT=1
  ITEM="$Line_Down"
    CAPTION="Line Down"
    MACRO="IfScrollLock(!'ScrollDown(1);',!'LineDown;');"
    SHORTCUT="40::Down"
    REQ_DOCUMENT=1
  ITEM="$Select_Line_Down"
    CAPTION="Select Line Down"
    MACRO="SelLineDown;"
    SHORTCUT="8232::Shift+Down"
    REQ_DOCUMENT=1
  ITEM="$Line_Up"
    CAPTION="Line Up"
    MACRO="IfScrollLock(!'ScrollUp(1);',!'LineUp;');"
    SHORTCUT="38::Up"
    REQ_DOCUMENT=1
  ITEM="$Select_Line_Up"
    CAPTION="Select Line Up"
    MACRO="SelLineUp;"
    SHORTCUT="8230::Shift+Up"
    REQ_DOCUMENT=1
  ITEM="$Par_Down"
    CAPTION="Par Down"
    MACRO="Exe('%b\Menus\Shortcuts\Par Down.edt');"
    SHORTCUT="16424::Ctrl+Down"
    REQ_DOCUMENT=1
  ITEM="$Select_Par_Down"
    CAPTION="Select Par Down"
    MACRO="Exe('%b\Menus\Shortcuts\Select Par Down.edt');"
    SHORTCUT="24616::Shift+Ctrl+Down"
    REQ_DOCUMENT=1
  ITEM="$Par_Up"
    CAPTION="Par Up"
    MACRO="Exe('%b\Menus\Shortcuts\Par Up.edt');"
    SHORTCUT="16422::Ctrl+Up"
    REQ_DOCUMENT=1
  ITEM="$Select_Par_Up"
    CAPTION="Select Par Up"
    MACRO="Exe('%b\Menus\Shortcuts\Select Par Up.edt');"
    SHORTCUT="24614::Shift+Ctrl+Up"
    REQ_DOCUMENT=1
  ITEM="$Page_Down"
    CAPTION="Page Down"
    MACRO="PageDown;"
    SHORTCUT="34::PgDn"
    REQ_DOCUMENT=1
  ITEM="$Select_Page_Down"
    CAPTION="Select Page Down"
    MACRO="SelPageDown;"
    SHORTCUT="8226::Shift+PgDn"
    REQ_DOCUMENT=1
  ITEM="$Page_Up"
    CAPTION="Page Up"
    MACRO="PageUp;"
    SHORTCUT="33::PgUp"
    REQ_DOCUMENT=1
  ITEM="$Select_Page_Up"
    CAPTION="Select Page Up"
    MACRO="SelPageUp;"
    SHORTCUT="8225::Shift+PgUp"
    REQ_DOCUMENT=1
  ITEM="$Go_To_End_Of_Line"
    CAPTION="Go To End Of Line"
    MACRO="GoToEndOfLine;"
    SHORTCUT="35::End"
    REQ_DOCUMENT=1
  ITEM="$Select_To_End_Of_Line"
    CAPTION="Select To End Of Line"
    MACRO="SelToEndOfLine;"
    SHORTCUT="8227::Shift+End"
    REQ_DOCUMENT=1
  ITEM="$Go_To_End_Of_File1"
    CAPTION="Go To End Of File"
    MACRO="GoToEndOfFile;"
    SHORTCUT="16418::Ctrl+PgDn"
    REQ_DOCUMENT=1
  ITEM="$Go_To_End_Of_File2"
    CAPTION="Go To End Of File"
    MACRO="GoToEndOfFile;"
    SHORTCUT="16419::Ctrl+End"
    REQ_DOCUMENT=1
  ITEM="$Select_To_End_Of_File1"
    CAPTION="Select To End Of File"
    MACRO="SelToEndOfFile;"
    SHORTCUT="24611::Shift+Ctrl+End"
    REQ_DOCUMENT=1
  ITEM="$Select_To_End_Of_File2"
    CAPTION="Select To End Of File"
    MACRO="SelToEndOfFile;"
    SHORTCUT="24610::Shift+Ctrl+PgDn"
    REQ_DOCUMENT=1
  ITEM="$Go_To_Beginning_Of_Line"
    CAPTION="Go To Beginning Of Line"
    MACRO="GoToBeginningOfLine(2);"
    SHORTCUT="36::Home"
    REQ_DOCUMENT=1
  ITEM="$Select_To_Beginning_Of_Line"
    CAPTION="Select To Beginning Of Line"
    MACRO="SelToBeginningOfLine(2);"
    SHORTCUT="8228::Shift+Home"
    REQ_DOCUMENT=1
  ITEM="$Go_To_Beginning_Of_File1"
    CAPTION="Go To Beginning Of File"
    MACRO="GoToBeginningOfFile;"
    SHORTCUT="16420::Ctrl+Home"
    REQ_DOCUMENT=1
  ITEM="$Go_To_Beginning_Of_File2"
    CAPTION="Go To Beginning Of File"
    MACRO="GoToBeginningOfFile;"
    SHORTCUT="16417::Ctrl+PgUp"
    REQ_DOCUMENT=1
  ITEM="$Select_To_Beginning_Of_File1"
    CAPTION="Select To Beginning Of File"
    MACRO="SelToBeginningOfFile;"
    SHORTCUT="24612::Shift+Ctrl+Home"
    REQ_DOCUMENT=1
  ITEM="$Select_To_Beginning_Of_File2"
    CAPTION="Select To Beginning Of File"
    MACRO="SelToBeginningOfFile;"
    SHORTCUT="24609::Shift+Ctrl+PgUp"
    REQ_DOCUMENT=1
  ITEM="$Screen_Center_Line"
    CAPTION="Screen Center Line"
    MACRO="ScreenCenterLine;"
    SHORTCUT="32804::Alt+Home"
    REQ_DOCUMENT=1
  ITEM="$Screen_Line_To_Bottom"
    CAPTION="Screen Line To Bottom"
    MACRO="ScreenLineToBottom;"
    SHORTCUT="32802::Alt+PgDn"
    REQ_DOCUMENT=1
  ITEM="$Screen_Line_To_Top"
    CAPTION="Screen Line To Top"
    MACRO="ScreenLineToTop;"
    SHORTCUT="32801::Alt+PgUp"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="$Screen_Refresh"
    CAPTION="Screen Refresh"
    MACRO="Refresh(1);"
    SHORTCUT="32803::Alt+End"
    REQ_DOCUMENT=1
END="Shortcuts"

MENU="Alternatives"
  CAPTION="Alternatives"
  INVISIBLE=1
  ITEM="$Undo"
    CAPTION="Undo"
    MACRO="Undo;"
    SHORTCUT="32776::Alt+BkSp"
    REQ_DOCUMENT=1
    REQ_UNDO_INFO=1
  ITEM="$Redo"
    CAPTION="Redo"
    MACRO="Redo;"
    SHORTCUT="40968::Shift+Alt+BkSp"
    REQ_DOCUMENT=1
    REQ_REDO_INFO=1
  ITEM="$Paste"
    CAPTION="Paste"
    MACRO="Paste;"
    SHORTCUT="8237::Shift+Ins"
    REQ_DOCUMENT=1
    REQ_CLIPBOARD_TEXT=1
  ITEM="$Cut"
    CAPTION="Cut"
    MACRO="Cut;"
    SHORTCUT="8238::Shift+Del"
    REQ_DOCUMENT=1
    REQ_SELECTED_TEXT=1
  ITEM="$Copy"
    CAPTION="Copy"
    MACRO="Copy;"
    SHORTCUT="16429::Ctrl+Ins"
    REQ_DOCUMENT=1
    REQ_SELECTED_TEXT=1
  ITEM="$Append"
    CAPTION="Append"
    MACRO="Append;"
    SHORTCUT="32813::Alt+Ins"
    REQ_DOCUMENT=1
    REQ_SELECTED_TEXT=1
  ITEM="-"
  ITEM="$["
    CAPTION="["
    MACRO="Chr(-1,'[');"
    REQ_DOCUMENT=1
  ITEM="$]"
    CAPTION="]"
    MACRO="Chr(-1,']');"
    REQ_DOCUMENT=1
  ITEM="${"
    CAPTION="{"
    MACRO="Chr(-1,'{');"
    REQ_DOCUMENT=1
  ITEM="$}"
    CAPTION="}"
    MACRO="Chr(-1,'}');"
    REQ_DOCUMENT=1
  ITEM="$\"
    CAPTION="\"
    MACRO="Chr(-1,'\');"
    REQ_DOCUMENT=1
  ITEM="$|"
    CAPTION="|"
    MACRO="Chr(-1,'|');"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="$Shortcut_Test"
    CAPTION="Shortcut Test"
    MACRO="Prompt(!'Alternatives -> Shortcut Test!');"
  ITEM="-"
  ITEM="$New_ASCII_Doc"
    CAPTION="&ASCII Document"
    IMAGE="DocASCII"
    MACRO="NewDoc('ASCII');"
  ITEM="$New_ANSI_Doc"
    CAPTION="A&NSI Document"
    IMAGE="DocANSI"
    MACRO="NewDoc('ANSI');"
  ITEM="$New_DATA_Doc"
    CAPTION="&Data Document"
    IMAGE="DocData"
    MACRO="NewDoc('DATA');"
  ITEM="$New_Macro_Doc"
    CAPTION="&WinEdt Macro"
    IMAGE="DocMacro"
    MACRO="NewDoc('ASCII:EDT');"
  ITEM="$New_HTML_Doc"
    CAPTION="&HTML Document"
    IMAGE="DocHTML"
    MACRO="NewDoc('HTML');"
  ITEM="$New_TeX_Doc"
    CAPTION="&TeX Document"
    IMAGE="DocTeX"
    MACRO="NewDoc('TeX');"
  ITEM="$New_BibTeX_Doc"
    CAPTION="&BibTeX Document"
    IMAGE="DocBibTeX"
    MACRO="NewDoc('BibTeX');"
  ITEM="$New_MetaPost_Doc"
    CAPTION="&MetaPost Document"
    IMAGE="DocMetaPost"
    MACRO="NewDoc('MetaPost');"
  ITEM="$New_NSIS_Doc"
    CAPTION="NS&IS Script"
    IMAGE="DocNSI"
    MACRO="NewDoc('NSIS');"
  ITEM="-"
  ITEM="$Erase_AUX_File"
    CAPTION="Erase AUX File"
    IMAGE="FileAUX"
    MACRO="IfFileExists('%O\%N.aux',!'CloseFile(|%O\%N.aux|,1);"+
          "DeleteFile(|%O\%N.aux|);UpdateStatus;');"
    REQ_FILTER=:"%!M=TeX"*%O\%N.aux
  ITEM="$Erase_BBL_File"
    CAPTION="Erase BBL File"
    IMAGE="FileBBL"
    MACRO="IfFileExists('%O\%N.bbl',!'CloseFile(|%O\%N.bbl|,1);"+
          "DeleteFile(|%O\%N.bbl|);UpdateStatus;');"
    REQ_FILTER=:"%!M=TeX"*%O\%N.bbl
  ITEM="$Erase_IND_File"
    CAPTION="Erase IND File"
    IMAGE="FileIND"
    MACRO="IfFileExists('%O\%N.ind',!'CloseFile(|%O\%N.ind|,1);"+
          "DeleteFile(|%O\%N.ind|);UpdateStatus;');"
    REQ_FILTER=:"%!M=TeX"*%O\%N.ind
  ITEM="$Erase_GLS_File"
    CAPTION="Erase GLS File"
    IMAGE="FileGLS"
    MACRO="IfFileExists('%O\%N.gls',!'CloseFile(|%O\%N.gls|,1);"+
          "DeleteFile(|%O\%N.gls|);UpdateStatus;');"
    REQ_FILTER=:"%!M=TeX"*%O\%N.gls
  ITEM="$Erase_LOF_File"
    CAPTION="Erase LOF File"
    IMAGE="FileLOF"
    MACRO="IfFileExists('%O\%N.lof',!'CloseFile(|%O\%N.lof|,1);"+
          "DeleteFile(|%O\%N.lof|);UpdateStatus;');"
    REQ_FILTER=:"%!M=TeX"*%O\%N.lof
  ITEM="$Erase_LOT_File"
    CAPTION="Erase LOT File"
    IMAGE="FileLOT"
    MACRO="IfFileExists('%O\%N.lot',!'CloseFile(|%O\%N.lot|,1);"+
          "DeleteFile(|%O\%N.lot|);UpdateStatus;');"
    REQ_FILTER=:"%!M=TeX"*%O\%N.lot
  ITEM="$Erase_TOC_File"
    CAPTION="Erase TOC File"
    IMAGE="FileTOC"
    MACRO="IfFileExists('%O\%N.toc',!'CloseFile(|%O\%N.toc|,1);"+
          "DeleteFile(|%O\%N.toc|);UpdateStatus;');"
    REQ_FILTER=:"%!M=TeX"*%O\%N.toc
  ITEM="$Erase_MPX_File"
    CAPTION="Erase MPX File"
    IMAGE="FileMPX"
    MACRO="IfFileExists('%O\%N.mpx',!'CloseFile(|%O\%N.mpx|,1);"+
          "DeleteFile(|%O\%N.mpx|);UpdateStatus;');"
    REQ_FILTER=:"%!M=MetaPost"*%O\%N.mpx
END="Alternatives"

MENU="Bookmarks"
  CAPTION="Bookmarks"
  INVISIBLE=1
  ITEM="$Reset_View"
    CAPTION="&Reset View"
    MACRO="ChangeView(-1,1);"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="$Mark_0"
    CAPTION="Mark 0"
    MACRO="SetBookMark(0);"
    SHORTCUT="24624::Shift+Ctrl+0"
    REQ_DOCUMENT=1
  ITEM="$Mark_1"
    CAPTION="Mark 1"
    MACRO="SetBookMark(1);"
    SHORTCUT="24625::Shift+Ctrl+1"
    REQ_DOCUMENT=1
  ITEM="$Mark_2"
    CAPTION="Mark 2"
    MACRO="SetBookMark(2);"
    SHORTCUT="24626::Shift+Ctrl+2"
    REQ_DOCUMENT=1
  ITEM="$Mark_3"
    CAPTION="Mark 3"
    MACRO="SetBookMark(3);"
    SHORTCUT="24627::Shift+Ctrl+3"
    REQ_DOCUMENT=1
  ITEM="$Mark_4"
    CAPTION="Mark 4"
    MACRO="SetBookMark(4);"
    SHORTCUT="24628::Shift+Ctrl+4"
    REQ_DOCUMENT=1
  ITEM="$Mark_5"
    CAPTION="Mark 5"
    MACRO="SetBookMark(5);"
    SHORTCUT="24629::Shift+Ctrl+5"
    REQ_DOCUMENT=1
  ITEM="$Mark_6"
    CAPTION="Mark 6"
    MACRO="SetBookMark(6);"
    SHORTCUT="24630::Shift+Ctrl+6"
    REQ_DOCUMENT=1
  ITEM="$Mark_7"
    CAPTION="Mark 7"
    MACRO="SetBookMark(7);"
    SHORTCUT="24631::Shift+Ctrl+7"
    REQ_DOCUMENT=1
  ITEM="$Mark_8"
    CAPTION="Mark 8"
    MACRO="SetBookMark(8);"
    SHORTCUT="24632::Shift+Ctrl+8"
    REQ_DOCUMENT=1
  ITEM="$Mark_9"
    CAPTION="Mark 9"
    MACRO="SetBookMark(9);"
    SHORTCUT="24633::Shift+Ctrl+9"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="$GOTO_0"
    CAPTION="GOTO 0"
    MACRO="GOTOBookMark(0,2);"
    SHORTCUT="16432::Ctrl+0"
    REQ_DOCUMENT=1
  ITEM="$GOTO_1"
    CAPTION="GOTO 1"
    MACRO="GOTOBookMark(1,2);"
    SHORTCUT="16433::Ctrl+1"
    REQ_DOCUMENT=1
  ITEM="$GOTO_2"
    CAPTION="GOTO 2"
    MACRO="GOTOBookMark(2,2);"
    SHORTCUT="16434::Ctrl+2"
    REQ_DOCUMENT=1
  ITEM="$GOTO_3"
    CAPTION="GOTO 3"
    MACRO="GOTOBookMark(3,2);"
    SHORTCUT="16435::Ctrl+3"
    REQ_DOCUMENT=1
  ITEM="$GOTO_4"
    CAPTION="GOTO 4"
    MACRO="GOTOBookMark(4,2);"
    SHORTCUT="16436::Ctrl+4"
    REQ_DOCUMENT=1
  ITEM="$GOTO_5"
    CAPTION="GOTO 5"
    MACRO="GOTOBookMark(5,2);"
    SHORTCUT="16437::Ctrl+5"
    REQ_DOCUMENT=1
  ITEM="$GOTO_6"
    CAPTION="GOTO 6"
    MACRO="GOTOBookMark(6,2);"
    SHORTCUT="16438::Ctrl+6"
    REQ_DOCUMENT=1
  ITEM="$GOTO_7"
    CAPTION="GOTO 7"
    MACRO="GOTOBookMark(7,2);"
    SHORTCUT="16439::Ctrl+7"
    REQ_DOCUMENT=1
  ITEM="$GOTO_8"
    CAPTION="GOTO 8"
    MACRO="GOTOBookMark(8,2);"
    SHORTCUT="16440::Ctrl+8"
    REQ_DOCUMENT=1
  ITEM="$GOTO_9"
    CAPTION="GOTO 9"
    MACRO="GOTOBookMark(9,2);"
    SHORTCUT="16441::Ctrl+9"
    REQ_DOCUMENT=1
END="Bookmarks"

MENU="&File"
  CAPTION="&File"
  ITEM="New"
    CAPTION="&New"
    IMAGE="New"
    MACRO="NewDoc;"
    SHORTCUT="16462::Ctrl+N"
  ITEM="Open"
    CAPTION="&Open..."
    IMAGE="Open"
    START_FOLDER="%!P"
    MACRO="OpenDoc;"
    SHORTCUT="16463::Ctrl+O"
  ITEM="-"
  ITEM="Reload"
    CAPTION="&Reload..."
    IMAGE="Reload"
    MACRO="Exe('%b\Macros\Restore from File.edt');"
    REQ_DOCUMENT=1
    REQ_FILE=1
  ITEM="Update"
    CAPTION="&Update"
    IMAGE="Reload"
    INVISIBLE=1
    MACRO="UpdateDoc;"
    REQ_DOCUMENT=1
    REQ_FILE=1
  ITEM="-"
  ITEM="Save"
    CAPTION="&Save"
    IMAGE="Save"
    MACRO="SaveDoc;"
    SHORTCUT="16467::Ctrl+S"
    REQ_DOCUMENT=1
    REQ_MODIFIED_TEXT=1
  ITEM="Save_All"
    CAPTION="Sa&ve All"
    IMAGE="SaveAll"
    MACRO="SaveAllDoc;"
    REQ_DOCUMENT=1
    REQ_A_MODIFIED_DOCUMENT=1
  ITEM="Save_As"
    CAPTION="Save &As..."
    IMAGE="SaveAs"
    // Change start folder to %p if you want the dialog in the same folder!
    START_FOLDER="%!P"
    MACRO="SaveDocAs;Exe('%b\Macros\Events\MDIActivate.edt');"
    REQ_DOCUMENT=1
  ITEM="Save_Copy_As"
    CAPTION="Save Cop&y As..."
    IMAGE="SaveCopy"
    // Change start folder to %p if you want the dialog in the same folder!
    START_FOLDER="%!P"
    MACRO="SaveDocCopyAs;"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Send_Mail"
    CAPTION="Send &Mail..."
    IMAGE="SendMail"
    MACRO="GetSel(1,0);SendMail('','%!0');"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Print"
    CAPTION="&Print..."
    IMAGE="Print"
    MACRO="PrintDoc;"
    SHORTCUT="16464::Ctrl+P"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Close"
    CAPTION="&Close"
    IMAGE="Close"
    MACRO="CloseDoc;"
    SHORTCUT="16499::Ctrl+F4"
    REQ_DOCUMENT=1
  ITEM="Exit"
    CAPTION="E&xit"
    IMAGE="Exit"
    MACRO="ExitWinEdt;"
    SHORTCUT="32883::Alt+F4"
  ITEM="-"
  SUBMENU="Recent_Files_List>"
      CAPTION="Recent Files &List"
      IMAGE="Files"
    ITEM="Complete_File_List"
      CAPTION="Complete File &List..."
      IMAGE="Files"
      MACRO="ShowFileList;"
    ITEM="-"
  END="Recent_Files_List>"
END="&File"

MENU="&Edit"
  CAPTION="&Edit"
  ITEM="Undo"
    CAPTION="&Undo"
    IMAGE="Undo"
    MACRO="Undo;"
    SHORTCUT="16474::Ctrl+Z"
    REQ_DOCUMENT=1
    REQ_UNDO_INFO=1
  ITEM="Redo"
    CAPTION="&Redo"
    IMAGE="Redo"
    MACRO="Redo;"
    SHORTCUT="24666::Shift+Ctrl+Z"
    REQ_DOCUMENT=1
    REQ_REDO_INFO=1
  ITEM="-"
  SUBMENU="Undoing>"
      CAPTION="Undoing"
      IMAGE="Undo"
      REQ_DOCUMENT=1
    ITEM="Undo_All"
      CAPTION="&Undo All"
      IMAGE="Undo"
      MACRO="UndoAll;"
      REQ_DOCUMENT=1
      REQ_UNDO_INFO=1
    ITEM="Redo_All"
      CAPTION="&Redo All"
      IMAGE="Redo"
      MACRO="RedoAll;"
      REQ_DOCUMENT=1
      REQ_REDO_INFO=1
    ITEM="Reset_Buffer"
      CAPTION="Reset &Buffer"
      IMAGE="ResetBuffer"
      MACRO="ResetUndoBuffer;"
      REQ_DOCUMENT=1
      REQ_UNDO_BUFFER=1
  END="Undoing>"
  ITEM="-"
  ITEM="Select_All"
    CAPTION="&Select All"
    IMAGE="SelectAll"
    MACRO="SelectAll;"
    SHORTCUT="16449::Ctrl+A"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Erase_Clipboard"
    CAPTION="&Erase Clipboard"
    IMAGE="EraseClipbrd"
    MACRO="EraseClipboard;"
    REQ_CLIPBOARD_TEXT=1
  ITEM="-"
  ITEM="Paste"
    CAPTION="&Paste"
    IMAGE="Paste"
    MACRO="Paste;"
    SHORTCUT="16470::Ctrl+V"
    REQ_DOCUMENT=1
    REQ_CLIPBOARD_TEXT=1
  ITEM="Cut"
    CAPTION="Cu&t"
    IMAGE="Cut"
    MACRO="Cut;"
    SHORTCUT="16472::Ctrl+X"
    REQ_DOCUMENT=1
    REQ_SELECTED_TEXT=1
  ITEM="Copy"
    CAPTION="Cop&y"
    IMAGE="Copy"
    MACRO="Copy;"
    SHORTCUT="16451::Ctrl+C"
    REQ_DOCUMENT=1
    REQ_SELECTED_TEXT=1
  ITEM="Append"
    CAPTION="&Append"
    IMAGE="Append"
    MACRO="Append;"
    SHORTCUT="32835::Alt+C"
    REQ_DOCUMENT=1
    REQ_SELECTED_TEXT=1
  ITEM="-"
  ITEM="Delete"
    CAPTION="&Delete"
    IMAGE="Delete"
    MACRO="Exe('%b\Menus\Edit\Delete.edt');"
    SHORTCUT="46::Del"
    REQ_DOCUMENT=1
  ITEM="-"
  SUBMENU="Change_Case>"
      CAPTION="&Change Case"
      IMAGE="Tolower"
      REQ_DOCUMENT=1
    ITEM="Toggle_Case"
      CAPTION="&Toggle Case"
      IMAGE="Tolower"
      MACRO="ToggleCase;"
      SHORTCUT="32808::Alt+Down"
      REQ_DOCUMENT=1
    ITEM="Upper_Case"
      CAPTION="&Upper Case"
      IMAGE="CapLarge"
      MACRO="UpperCase;"
      SHORTCUT="49190::Ctrl+Alt+Up"
      REQ_DOCUMENT=1
    ITEM="Lower_Case"
      CAPTION="&Lower Case"
      IMAGE="CapSmall"
      MACRO="LowerCase;"
      SHORTCUT="49192::Ctrl+Alt+Down"
      REQ_DOCUMENT=1
    ITEM="Initial_Capitals"
      CAPTION="&Initial Capitals"
      IMAGE="CapInitial"
      MACRO="InitialCapitals;"
      SHORTCUT="32806::Alt+Up"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Toggle_Character"
      CAPTION="Toggle &Character"
      IMAGE="Tolower"
      MACRO="Exe('%b\Menus\Edit\Toggle Char.edt');"
      SHORTCUT="57384::Shift+Ctrl+Alt+Down"
      REQ_DOCUMENT=1
  END="Change_Case>"
  ITEM="-"
  SUBMENU="Format>"
      CAPTION="&Format"
      IMAGE="Format"
      REQ_DOCUMENT=1
    ITEM="Select_Paragraph"
      CAPTION="&Select Paragraph"
      IMAGE="SelectPar"
      MACRO="Exe('%b\Menus\Edit\Select Paragraph.edt');"
      SHORTCUT="24621::Shift+Ctrl+Ins"
      REQ_DOCUMENT=1
    ITEM="Wrap_Paragraph"
      CAPTION="&Wrap Paragraph"
      IMAGE="WrapText"
      MACRO="WrapSelectedText(-1,0);"
      SHORTCUT="41005::Shift+Alt+Ins"
      REQ_DOCUMENT=1
    ITEM="Format_Paragraph"
      CAPTION="Format &Paragraph"
      IMAGE="FormatPar"
      MACRO="Exe('%b\Menus\Edit\Format Paragraph.edt');"
      SHORTCUT="49197::Ctrl+Alt+Ins"
      REQ_DOCUMENT=1
    ITEM="Format_Document"
      CAPTION="Format &Document"
      IMAGE="FormatDoc"
      MACRO="Exe('%b\Menus\Edit\Format Document.edt');"
      SHORTCUT="57389::Shift+Ctrl+Alt+Ins"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Flush_Left"
      CAPTION="Flush &Left"
      IMAGE="AlignLeft"
      MACRO="FlushLeft;"
      SHORTCUT="40997::Shift+Alt+Left"
      REQ_DOCUMENT=1
    ITEM="Flush_Right"
      CAPTION="Flush &Right"
      IMAGE="AlignRight"
      MACRO="FlushRight;"
      SHORTCUT="40999::Shift+Alt+Right"
      REQ_DOCUMENT=1
    ITEM="Center_Text"
      CAPTION="&Center"
      IMAGE="AlignCenter"
      MACRO="Center;"
      SHORTCUT="40998::Shift+Alt+Up"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Set_Right_Margin"
      CAPTION="Set Right &Margin"
      IMAGE="MarginRight"
      MACRO="SetRelRM(8);"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Fill_Extra_Spaces"
      CAPTION="&Fill Extra Spaces"
      IMAGE="SpaceFill"
      MACRO="FillExtraSpaces;"
      REQ_DOCUMENT=1
    ITEM="Remove_Extra_Spaces"
      CAPTION="Remove &Extra Spaces"
      IMAGE="SpaceRemove"
      MACRO="RemoveExtraSpaces;"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Expand_Tabs"
      CAPTION="E&xpand Tabs"
      IMAGE="ExpandTabs"
      MACRO="ExpandTabs;"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Trim_Spaces"
      CAPTION="&Trim Spaces"
      IMAGE="SpaceTrim"
      MACRO="TrimSpaces;"
      REQ_DOCUMENT=1
    ITEM="Add_Spaces"
      CAPTION="&Add Spaces"
      IMAGE="SpaceAdd"
      MACRO="AddSpaces;"
      REQ_DOCUMENT=1
  END="Format>"
  SUBMENU="Move_/_Fill>"
      CAPTION="&Move / Fill"
      IMAGE="Move"
      REQ_DOCUMENT=1
    ITEM="Move_Right"
      CAPTION="&Move Right"
      IMAGE="MoveRight"
      MACRO="MoveRight;"
      SHORTCUT="32807::Alt+Right"
      REQ_DOCUMENT=1
    ITEM="Move_Left"
      CAPTION="Move &Left"
      IMAGE="MoveLeft"
      MACRO="MoveLeft;"
      SHORTCUT="32805::Alt+Left"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Insert_String"
      CAPTION="&Insert String..."
      IMAGE="StringInsert"
      MACRO="InsertString;"
      SHORTCUT="49191::Ctrl+Alt+Right"
      REQ_DOCUMENT=1
    ITEM="Remove_String"
      CAPTION="&Remove String..."
      IMAGE="StringRemove"
      MACRO="RemoveString;"
      SHORTCUT="49189::Ctrl+Alt+Left"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Insert_Comment"
      CAPTION="Insert &Comment"
      IMAGE="CommentInsert"
      MACRO="Exe('%b\Menus\Edit\Insert Comment.edt');"
      SHORTCUT="57383::Shift+Ctrl+Alt+Right"
      REQ_DOCUMENT=1
    ITEM="Remove_Comment"
      CAPTION="R&emove Comment"
      IMAGE="CommentRemove"
      MACRO="Exe('%b\Menus\Edit\Remove Comment.edt');"
      SHORTCUT="57381::Shift+Ctrl+Alt+Left"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Append_Line_Break"
      CAPTION="&Append Line Break"
      IMAGE="LineBreakAdd"
      MACRO="AppendLineBreak;"
      REQ_DOCUMENT=1
    ITEM="Remove_Line_Break"
      CAPTION="Remove Line &Break"
      IMAGE="LineBreakRemove"
      MACRO="RemoveLineBreak;"
      REQ_DOCUMENT=1
  END="Move_/_Fill>"
  ITEM="-"
  SUBMENU="Line_Spacing>"
      CAPTION="&Line Spacing"
      IMAGE="Space"
      REQ_DOCUMENT=1
    ITEM="Double_Space"
      CAPTION="&Double Space"
      IMAGE="SpaceDouble"
      MACRO="DoubleSpace;"
      REQ_DOCUMENT=1
    ITEM="Single_Space"
      CAPTION="&Single Space"
      IMAGE="SpaceSingle"
      MACRO="SingleSpace;"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Double_Empty_Lines"
      CAPTION="Double &Empty Lines"
      IMAGE="SpaceDoubleEmpty"
      MACRO="DoubleEmptyLines;"
      REQ_DOCUMENT=1
    ITEM="Single_Empty_Lines"
      CAPTION="Single Empty &Lines"
      IMAGE="SpaceSingleEmpty"
      MACRO="SingleEmptyLines;"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Remove_Empty_Lines"
      CAPTION="&Remove Empty Lines"
      IMAGE="SpaceRemoveEmpty"
      MACRO="RemoveEmptyLines;"
      REQ_DOCUMENT=1
  END="Line_Spacing>"
END="&Edit"

MENU="&Search"
  CAPTION="&Search"
  ITEM="Find"
    CAPTION="&Find..."
    IMAGE="Find"
    MACRO="FindDialog(0);"
    SHORTCUT="16454::Ctrl+F"
    REQ_DOCUMENT=1
  ITEM="Find_in_Files"
    CAPTION="Find in File&s..."
    IMAGE="FindInFiles"
    MACRO="FindDialog(1);"
    SHORTCUT="24646::Shift+Ctrl+F"
  ITEM="Replace"
    CAPTION="&Replace..."
    IMAGE="FindReplace"
    MACRO="ReplaceDialog;"
    SHORTCUT="16466::Ctrl+R"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Incremental_Search"
    CAPTION="&Incremental Search..."
    IMAGE="FindIncremental"
    MACRO="IncrementalSearch;"
    SHORTCUT="16457::Ctrl+I"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Search_Again"
    CAPTION="Search &Again"
    IMAGE="FindAgain"
    MACRO="Search;"
    SHORTCUT="114::F3"
    REQ_DOCUMENT=1
  ITEM="Next"
    CAPTION="&Next"
    IMAGE="FindNext"
    MACRO="SearchNext;"
    SHORTCUT="32882::Alt+F3"
    REQ_DOCUMENT=1
  ITEM="Previous"
    CAPTION="&Previous"
    IMAGE="FindPrevious"
    MACRO="SearchPrevious;"
    SHORTCUT="8306::Shift+F3"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Errors"
    CAPTION="&Errors..."
    IMAGE="Errors"
    MACRO="FindError(1,1,0,-1,1);"
    SHORTCUT="16453::Ctrl+E"
    REQ_FILTER="%E"
  ITEM="Hide_Errors"
    CAPTION="&Hide Errors"
    IMAGE="ErrorsHide"
    MACRO="ShowErrorLog(-1);"
    SHORTCUT="24645::Shift+Ctrl+E"
  ITEM="-"
  ITEM="Compare_Documents"
    CAPTION="&Compare Documents..."
    IMAGE="CompareDocs"
    MACRO="CompareDocuments;"
    REQ_DOCUMENT=1
  ITEM="Next_Difference"
    CAPTION="Ne&xt Difference"
    IMAGE="Right1"
    MACRO="NextDifference;"
    SHORTCUT="16498::Ctrl+F3"
    REQ_DOCUMENT=1
  ITEM="Previous_Difference"
    CAPTION="Pre&vious Difference"
    IMAGE="Left1"
    MACRO="PreviousDifference;"
    SHORTCUT="24690::Shift+Ctrl+F3"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Go_To_Line"
    CAPTION="&Go To Line..."
    IMAGE="GotoLine"
    MACRO="GoToLine;"
    SHORTCUT="16455::Ctrl+G"
    REQ_DOCUMENT=1
  ITEM="-"
  SUBMENU="Bookmarks>"
      CAPTION="&Bookmarks"
      IMAGE="Bookmark"
      REQ_DOCUMENT=1
    ITEM="Caret_<->_Select"
      CAPTION="&Caret <-> Select"
      IMAGE="Caret"
      MACRO="SwapCaretSelect;"
      SHORTCUT="122::F11"
      REQ_DOCUMENT=1
      //It can be useful in found text...
      //REQ_SELECTED_TEXT=1
    ITEM="Reset_Selection"
      CAPTION="&Reset Selection"
      IMAGE="SelectReset"
      MACRO="Sel(0);"
      SHORTCUT="49274::Ctrl+Alt+F11"
      REQ_DOCUMENT=1
    ITEM="Set_Selection"
      CAPTION="&Set Selection"
      IMAGE="SelectSet"
      MACRO="SetSel(1);"
      SHORTCUT="57466::Shift+Ctrl+Alt+F11"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Mark"
      CAPTION="&Mark"
      IMAGE="Mark"
      MACRO="Mark(0);"
      SHORTCUT="32890::Alt+F11"
      REQ_DOCUMENT=1
    ITEM="Go_To_Mark"
      CAPTION="&Go To Mark"
      IMAGE="GotoMark"
      MACRO="Goto(0);"
      SHORTCUT="16506::Ctrl+F11"
      REQ_DOCUMENT=1
    ITEM="Select_From_Mark"
      CAPTION="Se&lect From Mark"
      IMAGE="SelectMark"
      MACRO="SelectFromMark(0);"
      SHORTCUT="24698::Shift+Ctrl+F11"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Move_Ring_Backward"
      CAPTION="Move Ring &Backward"
      IMAGE="BookmarkPrevious"
      MACRO="MoveRingBackward;"
      SHORTCUT="24584::Shift+Ctrl+BkSp"
      REQ_DOCUMENT=1
    ITEM="Move_Ring_Forward"
      CAPTION="Move Ring &Forward"
      IMAGE="BookmarkNext"
      MACRO="MoveRingForward;"
      SHORTCUT="24622::Shift+Ctrl+Del"
      REQ_DOCUMENT=1
  END="Bookmarks>"
  SUBMENU="Delimiters>"
      CAPTION="&Delimiters"
      IMAGE="Delim"
      REQ_DOCUMENT=1
    ITEM="Match_Delimiter_Scope"
      CAPTION="&Match Delimiter Scope"
      IMAGE="DelimScope"
      MACRO="MatchDelimiter(1,0,1);"
      SHORTCUT="123::F12"
      REQ_DOCUMENT=1
    ITEM="Match_Delimiter"
      CAPTION="&Match Delimiter"
      IMAGE="Delim"
      MACRO="MatchDelimiter(0,0,1);"
      SHORTCUT="24699::Shift+Ctrl+F12"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Delimiter_Check"
      CAPTION="&Delimiter Check"
      IMAGE="DelimCheck"
      MACRO="DelimiterCheck;"
      SHORTCUT="16507::Ctrl+F12"
      REQ_DOCUMENT=1
    ITEM="Slow_Check"
      CAPTION="&Slow Check"
      IMAGE="DelimTime"
      MACRO="DelimiterCheck(1);"
      SHORTCUT="8315::Shift+F12"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Auto_Check"
      CAPTION="&Auto Check"
      IMAGE="DelimAuto"
      MACRO="DelimiterCheck(0,1);"
      SHORTCUT="32891::Alt+F12"
      REQ_DOCUMENT=1
    ITEM="Quick_Check"
      CAPTION="&Quick Check"
      IMAGE="DelimTime"
      MACRO="DelimiterCheck(2);"
      SHORTCUT="49275::Ctrl+Alt+F12"
      REQ_DOCUMENT=1
  END="Delimiters>"
END="&Search"

MENU="&Insert"
  CAPTION="&Insert"
  ITEM="Insert_File"
    CAPTION="&Insert File..."
    IMAGE="InsertFile"
    MACRO="InsertDoc;"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Date"
    CAPTION="&Date"
    IMAGE="Date"
    MACRO="[GetDate(0,'dddd, mmmm d, yyyy  hh:nn');InsText('%!0');]"
    REQ_DOCUMENT=1
  ITEM="-"
  SUBMENU="Font>"
      CAPTION="&Font"
      CONFIG_FILTER="Default;MiKTeX;TeX Live;HTML"
      IMAGE="Bold"
      REQ_DOCUMENT=1
    ITEM="Bold"
      CAPTION="&Bold"
      IMAGE="Bold"
      MACRO="Exe('%b\Menus\Insert\Bold.edt');"
      REQ_DOCUMENT=1
    ITEM="Emphasize_(Italic)"
      CAPTION="&Emphasize (Italic)"
      IMAGE="Italic"
      MACRO="Exe('%b\Menus\Insert\Emph.edt');"
      REQ_DOCUMENT=1
    ITEM="Teletype"
      CAPTION="&Teletype"
      IMAGE="Teletype"
      MACRO="Exe('%b\Menus\Insert\Teletype.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Color_(RGB)"
      CAPTION="&Color (RGB)"
      IMAGE="Colors"
      MACRO="Exe('%b\Menus\Insert\Colors.edt');"
      REQ_DOCUMENT=1
  END="Font>"
  SUBMENU="Objects>"
      CAPTION="&Objects"
      CONFIG_FILTER="Default;MiKTeX;TeX Live;HTML"
      IMAGE="Objects"
      REQ_DOCUMENT=1
    ITEM="Figure"
      CAPTION="&Figure"
      IMAGE="Figure"
      MACRO="Exe('%b\Menus\Insert\Image.edt');"
      REQ_DOCUMENT=1
    ITEM="Table"
      CAPTION="&Table"
      IMAGE="Table"
      MACRO="Exe('%b\Menus\Insert\Table.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Hyperlink"
      CAPTION="&Link"
      IMAGE="Hyperlink"
      MACRO="Exe('%b\Menus\Insert\Link.edt');"
      REQ_DOCUMENT=1
  END="Objects>"
  ITEM="-"
  SUBMENU="Structure>"
      CAPTION="&Structure"
      CONFIG_FILTER="Default;MiKTeX;TeX Live;HTML"
      IMAGE="TOC"
      REQ_DOCUMENT=1
    ITEM="Part"
      CAPTION="&Part"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="Part"
      MACRO="Exe('%b\Macros\Sections\Part.edt');"
      REQ_DOCUMENT=1
    ITEM="Chapter"
      CAPTION="&Chapter"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="Chapter"
      MACRO="Exe('%b\Macros\Sections\Chapter.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Section"
      CAPTION="&Section"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="Section"
      MACRO="Exe('%b\Macros\Sections\Section.edt');"
      REQ_DOCUMENT=1
    ITEM="Subsection"
      CAPTION="S&ubsection"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="Subsection"
      MACRO="Exe('%b\Macros\Sections\Subsection.edt');"
      REQ_DOCUMENT=1
    ITEM="Subsubsection"
      CAPTION="Su&bsubsection"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="Subsubsection"
      MACRO="Exe('%b\Macros\Sections\Subsubsection.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Paragraph"
      CAPTION="Para&graph"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="Paragraph"
      MACRO="Exe('%b\Macros\Sections\Paragraph.edt');"
      REQ_DOCUMENT=1
    ITEM="Subparagraph"
      CAPTION="Subpa&ragraph"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="Subparagraph"
      MACRO="Exe('%b\Macros\Sections\Subparagraph.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Appendix"
      CAPTION="&Appendix"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="Appendix"
      MACRO="BeginGroup;Ins('\appendix');NewLine;EndGroup;"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="H1"
      CAPTION="H&1"
      CONFIG_FILTER="HTML"
      IMAGE="H1"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<h1>','</h1>');"
      REQ_DOCUMENT=1
    ITEM="H2"
      CAPTION="H&2"
      CONFIG_FILTER="HTML"
      IMAGE="H2"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<h2>','</h2>');"
      REQ_DOCUMENT=1
    ITEM="H3"
      CAPTION="H&3"
      CONFIG_FILTER="HTML"
      IMAGE="H3"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<h3>','</h3>');"
      REQ_DOCUMENT=1
    ITEM="H4"
      CAPTION="H&4"
      CONFIG_FILTER="HTML"
      IMAGE="H4"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<h4>','</h4>');"
      REQ_DOCUMENT=1
    ITEM="H5"
      CAPTION="H&5"
      CONFIG_FILTER="HTML"
      IMAGE="H5"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<h5>','</h5>');"
      REQ_DOCUMENT=1
    ITEM="H6"
      CAPTION="H&6"
      CONFIG_FILTER="HTML"
      IMAGE="H6"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<h6>','</h6>');"
      REQ_DOCUMENT=1
  END="Structure>"
  ITEM="-"
  SUBMENU="Lists>"
      CAPTION="&Lists"
      CONFIG_FILTER="Default;MiKTeX;TeX Live;HTML"
      IMAGE="ListItem"
      REQ_DOCUMENT=1
    ITEM="Itemize"
      CAPTION="&Itemize"
      IMAGE="ListItem"
      MACRO="LetReg(9,'List Items');LetReg(8,'itemize');"+
            "Exe('%b\Menus\Insert\List.edt');"
      REQ_DOCUMENT=1
    ITEM="Enumerate"
      CAPTION="&Enumerate"
      IMAGE="ListEnum"
      MACRO="LetReg(9,'Enumerate Items');LetReg(8,'enumerate');"+
            "Exe('%b\Menus\Insert\List.edt');"
      REQ_DOCUMENT=1
    ITEM="Description"
      CAPTION="&Description"
      IMAGE="ListDesc"
      MACRO="LetReg(9,'Description Items');LetReg(8,'description');"+
            "Exe('%b\Menus\Insert\List.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Cases"
      CAPTION="&Cases"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="Cases"
      MACRO="Exe('%b\Menus\Insert\Cases.edt');"
      REQ_DOCUMENT=1
  END="Lists>"
  SUBMENU="Tables_(n x m)>"
      CAPTION="&Tables (n x m)"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="Tabular"
      REQ_DOCUMENT=1
    ITEM="Array_(n_x_m)"
      CAPTION="&Array"
      IMAGE="Array"
      MACRO="Exe('%b\Menus\Insert\Array.edt');"
      REQ_DOCUMENT=1
    ITEM="Matrix_(n_x_m)"
      CAPTION="&Matrix"
      IMAGE="Matrix"
      MACRO="Exe('%b\Menus\Insert\Matrix.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Tabular_(n_x_m)"
      CAPTION="&Tabular"
      IMAGE="Tabular"
      MACRO="Exe('%b\Menus\Insert\Tabular.edt');"
      REQ_DOCUMENT=1
    ITEM="Tabbing_(n_x_m)"
      CAPTION="Tabbing"
      IMAGE="Tabbing"
      MACRO="Exe('%b\Menus\Insert\Tabbing.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
  END="Tables_(n x m)>"
  ITEM="-"
  SUBMENU="Environments>"
      CAPTION="&Environments"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="Env"
      REQ_DOCUMENT=1
    ITEM="Insert_Environment"
      CAPTION="&Insert Environment..."
      IMAGE="Env"
      MACRO="EnterReg(9,'Environment name:','Insert Environment');LetReg(8);"+
            "Exe('%b\Menus\Insert\Env.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Equation"
      CAPTION="&Equation"
      IMAGE="Equation"
      MACRO="LetReg(9,'equation');LetReg(8,'\label{}');"+
            "Exe('%b\Menus\Insert\Env.edt');"
      REQ_DOCUMENT=1
    ITEM="Equation*"
      CAPTION="Equation&*"
      IMAGE="EquationStar"
      MACRO="LetReg(9,'equation*');LetReg(8);Exe('%b\Menus\Insert\Env.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Eqnarray"
      CAPTION="Eqn&array"
      IMAGE="EqnArray"
      MACRO="LetReg(9);Exe('%b\Menus\Insert\EqnArray.edt');"
      REQ_DOCUMENT=1
    ITEM="Eqnarray*"
      CAPTION="Eqnarray*"
      IMAGE="EqnArrayStar"
      MACRO="LetReg(9,'*');Exe('%b\Menus\Insert\EqnArray.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Center_Env"
      CAPTION="&Center"
      IMAGE="EnvCenter"
      MACRO="LetReg(9,'center');LetReg(8);Exe('%b\Menus\Insert\Env.edt');"
      REQ_DOCUMENT=1
    ITEM="Left_Env"
      CAPTION="&Left"
      IMAGE="EnvLeft"
      MACRO="LetReg(9,'flushleft');LetReg(8);Exe('%b\Menus\Insert\Env.edt');"
      REQ_DOCUMENT=1
    ITEM="Right_Env"
      CAPTION="&Right"
      IMAGE="EnvRight"
      MACRO="LetReg(9,'flushright');LetReg(8);Exe('%b\Menus\Insert\Env.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Verbatim_Env"
      CAPTION="&Verbatim"
      IMAGE="Teletype"
      MACRO="LetReg(9,'verbatim');LetReg(8);Exe('%b\Menus\Insert\Env.edt');"
      REQ_DOCUMENT=1
    ITEM="Quote_Env"
      CAPTION="&Quote"
      IMAGE="EnvQuote"
      MACRO="LetReg(9,'quote');LetReg(8);Exe('%b\Menus\Insert\Env.edt');"
      REQ_DOCUMENT=1
    ITEM="Minipage_Env"
      CAPTION="&Minipage"
      IMAGE="Minipage"
      MACRO="LetReg(9,'minipage');LetReg(8,'[]{}');"+
            "Exe('%b\Menus\Insert\Env.edt');"
      REQ_DOCUMENT=1
  END="Environments>"
  SUBMENU="AMSTeX>"
      CAPTION="&AMSTeX"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="TeXAMSTeX"
      REQ_DOCUMENT=1
    ITEM="Multiline"
      CAPTION="&Multline"
      IMAGE="EqnMulti"
      MACRO="LetReg(9,'multline');LetReg(8,'\label{}');"+
            "Exe('%b\Menus\Insert\Split.edt');"
      REQ_DOCUMENT=1
    ITEM="Multiline*"
      CAPTION="Multline*"
      IMAGE="EqnMultiStar"
      MACRO="LetReg(9,'multline*');LetReg(8);Exe('%b\Menus\Insert\Split.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Split"
      CAPTION="&Split"
      IMAGE="EqnSplit"
      MACRO="LetReg(9,'split');LetReg(8);Exe('%b\Menus\Insert\Split.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Gather_Env"
      CAPTION="&Gather"
      IMAGE="EqnGather"
      MACRO="LetReg(9,'gather');LetReg(8,'\label{}');"+
            "Exe('%b\Menus\Insert\Split.edt');"
      REQ_DOCUMENT=1
    ITEM="Gather*"
      CAPTION="Gather*"
      IMAGE="EqnGatherStar"
      MACRO="LetReg(9,'gather*');LetReg(8);Exe('%b\Menus\Insert\Split.edt');"
      REQ_DOCUMENT=1
    ITEM="Align"
      CAPTION="&Align"
      IMAGE="EqnAlign"
      MACRO="LetReg(9,'align');LetReg(8,'\label{}');"+
            "Exe('%b\Menus\Insert\Split.edt');"
      REQ_DOCUMENT=1
    ITEM="Align*"
      CAPTION="Align*"
      IMAGE="EqnAlignStar"
      MACRO="LetReg(9,'align*');LetReg(8);Exe('%b\Menus\Insert\Split.edt');"
      REQ_DOCUMENT=1
    ITEM="Alignat"
      CAPTION="Aligna&t"
      IMAGE="EqnAlign"
      MACRO="LetReg(9,'alignat');LetReg(8,'{}\label{}');"+
            "Exe('%b\Menus\Insert\Split.edt');"
      REQ_DOCUMENT=1
    ITEM="Alignat*"
      CAPTION="Alignat*"
      IMAGE="EqnAlignStar"
      MACRO="LetReg(9,'alignat*');LetReg(8,'{}');"+
            "Exe('%b\Menus\Insert\Split.edt');"
      REQ_DOCUMENT=1
    ITEM="Flalign"
      CAPTION="&Flalign"
      IMAGE="EqnAlign"
      MACRO="LetReg(9,'flalign');LetReg(8,'\label{}');"+
            "Exe('%b\Menus\Insert\Split.edt');"
      REQ_DOCUMENT=1
    ITEM="Flalign*"
      CAPTION="Flalign*"
      IMAGE="EqnAlignStar"
      MACRO="LetReg(9,'flalign*');LetReg(8);Exe('%b\Menus\Insert\Split.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="(Matrix)_(n_x_m)"
      CAPTION="(Matrix) (n x m)"
      IMAGE="Matrix"
      MACRO="LetReg(9,'p');Exe('%b\Menus\Insert\AMSMatrix.edt');"
      REQ_DOCUMENT=1
    ITEM="[Matrix]_(n_x_m)"
      CAPTION="[Matrix] (n x m)"
      IMAGE="Matrix"
      MACRO="LetReg(9,'b');Exe('%b\Menus\Insert\AMSMatrix.edt');"
      REQ_DOCUMENT=1
    ITEM="|Matrix|_(n_x_m)"
      CAPTION="|Matrix| (n x m)"
      IMAGE="Matrix"
      MACRO="LetReg(9,'v');Exe('%b\Menus\Insert\AMSMatrix.edt');"
      REQ_DOCUMENT=1
    ITEM="||Matrix||_(n_x_m)"
      CAPTION="||Matrix|| (n x m)"
      IMAGE="Matrix"
      MACRO="LetReg(9,'V');Exe('%b\Menus\Insert\AMSMatrix.edt');"
      REQ_DOCUMENT=1
  END="AMSTeX>"
  SUBMENU="LaTeX>"
      CAPTION="LaTe&X"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="TeXLaTeX"
      REQ_DOCUMENT=1
    ITEM="Quotation"
      CAPTION="&Quotation"
      IMAGE="Quotation"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','``',|''|);"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Citation"
      CAPTION="&Citation"
      IMAGE="Citation"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('\cite','{','}');"
      REQ_DOCUMENT=1
    ITEM="Reference"
      CAPTION="&Reference"
      IMAGE="Reference"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('\ref','{','}');"
      REQ_DOCUMENT=1
    ITEM="Label"
      CAPTION="&Label"
      IMAGE="Label"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('\label','{','}');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Footnote"
      CAPTION="&Footnote"
      IMAGE="Footnote"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('\footnote','{','}');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Sup"
      CAPTION="Su&p"
      IMAGE="Superscript"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('^','{','}');"
      REQ_DOCUMENT=1
    ITEM="Sub"
      CAPTION="S&ub"
      IMAGE="Subscript"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('_','{','}');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="$...$"
      CAPTION="$...$"
      IMAGE="Omega"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','$','$');"
      REQ_DOCUMENT=1
    ITEM="$$...$$"
      CAPTION="$$...$$"
      IMAGE="Equation"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','$$','$$');"
      REQ_DOCUMENT=1
    ITEM="\(...\)"
      CAPTION="\(...\)"
      IMAGE="Omega"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','\(','\)');"
      REQ_DOCUMENT=1
    ITEM="\[...\]"
      CAPTION="\[...\]"
      IMAGE="Equation"
      MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','\[','\]');"
      REQ_DOCUMENT=1
  END="LaTeX>"
  SUBMENU="BibTeX_Items>"
      CAPTION="&BibTeX Items"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="BibTeX"
      REQ_DOCUMENT=1
    ITEM="Article"
      CAPTION="&Article"
      IMAGE="Article"
      MACRO="LetReg(9,'Article');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="Book"
      CAPTION="&Book"
      IMAGE="Book"
      MACRO="LetReg(9,'Book');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="Inbook"
      CAPTION="&Inbook"
      IMAGE="InBook"
      MACRO="LetReg(9,'Inbook');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="Proc"
      CAPTION="&Proc"
      IMAGE="Proceedings"
      MACRO="LetReg(9,'Proc');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="Inproc"
      CAPTION="&Inproc"
      IMAGE="InProceedings"
      MACRO="LetReg(9,'Inproc');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="Collection"
      CAPTION="&Collection"
      IMAGE="Collection"
      MACRO="LetReg(9,'Collect');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="Incollection"
      CAPTION="&Incollection"
      IMAGE="InCollection"
      MACRO="LetReg(9,'Incollec');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="Booklet"
      CAPTION="&Booklet"
      IMAGE="Booklet"
      MACRO="LetReg(9,'Booklet');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="Manual"
      CAPTION="&Manual"
      IMAGE="Manual"
      MACRO="LetReg(9,'Manual');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="Report"
      CAPTION="&Report"
      IMAGE="Report"
      MACRO="LetReg(9,'Report');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="Conference"
      CAPTION="&Conference"
      IMAGE="Conference"
      MACRO="LetReg(9,'Conf');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="PhD_Thesis"
      CAPTION="PhD &Thesis"
      IMAGE="ThesisPhD"
      MACRO="LetReg(9,'Phd');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="Masters_Thesis"
      CAPTION="&Masters Thesis"
      IMAGE="ThesisMaster"
      MACRO="LetReg(9,'Master');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="Miscellaneous"
      CAPTION="&Miscellaneous"
      IMAGE="Sample"
      MACRO="LetReg(9,'Misc');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
    ITEM="Unpublished"
      CAPTION="&Unpublished"
      IMAGE="Unpublished"
      MACRO="LetReg(9,'Unpub');Exe('%b\Menus\Insert\Bib.edt');"
      REQ_DOCUMENT=1
  END="BibTeX_Items>"
  ITEM="-"
  SUBMENU="Documented_LaTeX_Menu"
      CAPTION="Documented LaTeX"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="DTX"
      REQ_DOCUMENT=1
    ITEM="DTX_Guard"
      CAPTION="&Guard"
      IMAGE="Meta"
      MACRO="EnterReg(9,'Guard name:','Insert Guard');"+
            "Exe('%b\Menus\Insert\DTX\Guard.edt');"
      REQ_DOCUMENT=1
    ITEM="DTX_Single_Guard"
      CAPTION="&Single Guard"
      IMAGE="Meta"
      MACRO="EnterReg(9,'Guard name:','Insert Guard');"+
            "Exe('%b\Menus\Insert\DTX\SingleGuard.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="DTX_Macro"
      CAPTION="&Macro"
      IMAGE="Macro"
      MACRO="EnterReg(9,'Macro name:','Insert Macro');"+
            "Exe('%b\Menus\Insert\DTX\Macro.edt');"
      REQ_DOCUMENT=1
    ITEM="DTX_Environment"
      CAPTION="&Environment"
      IMAGE="Env"
      MACRO="EnterReg(9,'Environment name:','Insert Environment');"+
            "Exe('%b\Menus\Insert\DTX\Env.edt');"
      REQ_DOCUMENT=1
    ITEM="DTX_Macrocode"
      CAPTION="Macro&code"
      IMAGE="Code"
      MACRO="Exe('%b\Menus\Insert\DTX\Macrocode.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="DTX_Changes"
      CAPTION="C&hanges"
      IMAGE="Invert"
      MACRO="Exe('%b\Menus\Insert\DTX\Changes.edt');"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="DTX_Checksum"
      CAPTION="Chec&ksum"
      IMAGE="DocSettings"
      MACRO="Exe('%b\Menus\Insert\DTX\Checksum.edt');"
      REQ_DOCUMENT=1
    ITEM="DTX_Character_Table"
      CAPTION="Character &Table"
      IMAGE="CharMap"
      MACRO="Exe('%b\Menus\Insert\DTX\Table.edt');"
      REQ_DOCUMENT=1
  END="Documented_LaTeX_Menu"
  ITEM="-"
  SUBMENU="MetaPost_Menu"
      CAPTION="&MetaPost"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="MetaPost"
      REQ_DOCUMENT=1
    ITEM="MP_Figure"
      CAPTION="&Figure"
      IMAGE="Figure"
      MACRO="EnterReg(9,'Figure number:','Insert Figure');"+
            "Exe('%b\Menus\Insert\MetaPost\Fig.edt');"
      REQ_DOCUMENT=1
    ITEM="MP_Graph"
      CAPTION="&Graph"
      IMAGE="Graph"
      MACRO="Exe('%b\Menus\Insert\MetaPost\Graph.edt');"
      REQ_DOCUMENT=1
  END="MetaPost_Menu"
  ITEM="-"
  // HTML Objects ...
  SUBMENU="HTML_Menu"
      CAPTION="&HTML"
      CONFIG_FILTER="Default;HTML"
      IMAGE="Hyperlink"
      REQ_DOCUMENT=1
    SUBMENU="Import_Selected_Text>"
        CAPTION="&Import Selected Text"
        IMAGE="ImportSelect"
        REQ_DOCUMENT=1
      ITEM="Import"
        CAPTION="&Import"
        IMAGE="ImportSelect"
        MACRO="Exe('%b\Menus\Insert\HTML\Import.edt');"
        REQ_DOCUMENT=1
        REQ_SELECTED_TEXT=1
      ITEM="Highlight"
        CAPTION="&Highlight"
        IMAGE="ImportHighlight"
        MACRO="Exe('%b\Menus\Insert\HTML\Import Highlighted.edt');"
        REQ_DOCUMENT=1
        REQ_SELECTED_TEXT=1
      ITEM="-"
      ITEM="HTML_Preformated"
        CAPTION="&Preformated"
        IMAGE="ImportSelect"
        MACRO="Exe('%b\Menus\Insert\HTML\Import Pre.edt');"
        REQ_DOCUMENT=1
        REQ_SELECTED_TEXT=1
      ITEM="Preformated_Colors"
        CAPTION="Preformated &Colors"
        IMAGE="ImportHighlight"
        MACRO="Exe('%b\Menus\Insert\HTML\Import Pre Highlighted.edt');"
        REQ_DOCUMENT=1
        REQ_SELECTED_TEXT=1
      ITEM="-"
      ITEM="Export_Selected_Text"
        CAPTION="&Export Selected Text"
        IMAGE="ExportSelect"
        MACRO="Exe('%b\Menus\Insert\HTML\Export.edt');"
        REQ_DOCUMENT=1
        REQ_SELECTED_TEXT=1
    END="Import_Selected_Text>"
    ITEM="-"
    SUBMENU="Document>"
        CAPTION="&Document"
        IMAGE="New"
        REQ_DOCUMENT=1
      ITEM="Wizard_Document"
        CAPTION="Wi&zard"
        IMAGE="Wizard"
        MACRO="LetReg(0,!'wizard');Exe('%b\Menus\Insert\HTML\Doc.edt');"
      ITEM="-"
      ITEM="Html"
        CAPTION="&Html"
        IMAGE="TagHtml"
        MACRO="LetReg(0,!'html');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="Head"
        CAPTION="Hea&d"
        IMAGE="TagHead"
        MACRO="LetReg(0,!'head');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="Title"
        CAPTION="&Title"
        IMAGE="TagTitle"
        MACRO="LetReg(0,!'title');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="Body"
        CAPTION="&Body"
        IMAGE="TagBody"
        MACRO="LetReg(0,!'body');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Meta"
        CAPTION="&Meta"
        IMAGE="Meta"
        MACRO="LetReg(0,!'meta');Exe('%b\Menus\Insert\HTML\Doc.edt');"
        REQ_DOCUMENT=1
      ITEM="Meta_(http-equiv)"
        CAPTION="&Meta (http-e&quiv)"
        IMAGE="MetaHttp"
        MACRO="LetReg(0,!'meta_http');Exe('%b\Menus\Insert\HTML\Doc.edt');"
        REQ_DOCUMENT=1
      ITEM="Meta_(charset)"
        CAPTION="Meta (&charset)"
        IMAGE="MetaCharset"
        MACRO="LetReg(0,!'meta_charset');Exe('%b\Menus\Insert\HTML\Doc.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="HTML_Link"
        CAPTION="&Link"
        IMAGE="LinkDocs"
        MACRO="LetReg(0,!'link_rel');Exe('%b\Menus\Insert\HTML\Doc.edt');"
        REQ_DOCUMENT=1
      ITEM="Link_(stylesheet)"
        CAPTION="Li&nk (stylesheet)"
        IMAGE="LinkStyle"
        MACRO="LetReg(0,!'link_style');Exe('%b\Menus\Insert\HTML\Doc.edt');"
        REQ_DOCUMENT=1
      ITEM="Style"
        CAPTION="&Style"
        IMAGE="Style"
        MACRO="LetReg(0,!'style');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="Script"
        CAPTION="Scri&pt"
        IMAGE="Macro"
        MACRO="LetReg(0,!'script');Exe('%b\Menus\Insert\HTML\Doc.edt');"
        REQ_DOCUMENT=1
    END="Document>"
    ITEM="-"
    SUBMENU="Text>"
        CAPTION="&Text"
        IMAGE="Teletype"
        REQ_DOCUMENT=1
      ITEM="Preformated"
        CAPTION="&Preformated"
        IMAGE="Teletype"
        MACRO="LetReg(0,!'pre');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="Blockquote"
        CAPTION="&Blockquote"
        IMAGE="Quote"
        MACRO="LetReg(0,!'blockquote');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="Span"
        CAPTION="&Span"
        IMAGE="Span"
        MACRO="Exe('%b\Menus\Insert\HTML\Span.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Time_Stamp"
        CAPTION="&Time Stamp"
        IMAGE="Time"
        MACRO="GetDate(7,'dddd, mmmm d, yyyy  hh:nn');"+
              "Ins('<!--bdate-->%!7<!--edate-->');"
        REQ_DOCUMENT=1
      ITEM="Horizontal_Rule"
        CAPTION="&Horizontal Rule"
        IMAGE="Rule"
        MACRO="BeginGroup;Ins('<hr>');NewLine;EndGroup;"
        REQ_DOCUMENT=1
      ITEM="Line_Break"
        CAPTION="Line &Break"
        IMAGE="LineBreakAdd"
        MACRO="BeginGroup;Ins('<br>');NewLine;EndGroup;"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Inline_Quote"
        CAPTION="Inline &Quote"
        IMAGE="Quotation"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<q>','</q>');"
        REQ_DOCUMENT=1
      ITEM="Address"
        CAPTION="&Address"
        IMAGE="MailAddress"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<address>','</address>');"
        REQ_DOCUMENT=1
      ITEM="Keyboard"
        CAPTION="&Keyboard"
        IMAGE="Keyboard"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<kbd>','</kbd>');"
        REQ_DOCUMENT=1
      ITEM="HTML_Code"
        CAPTION="&Code"
        IMAGE="Code"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<code>','</code>');"
        REQ_DOCUMENT=1
      ITEM="Variable"
        CAPTION="&Variable"
        IMAGE="Variables"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<var>','</var>');"
        REQ_DOCUMENT=1
      ITEM="Sample"
        CAPTION="Sa&mple"
        IMAGE="CodeSample"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<samp>','</samp>');"
        REQ_DOCUMENT=1
      ITEM="Cite"
        CAPTION="Ci&te"
        IMAGE="Citation"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<cite>','</cite>');"
        REQ_DOCUMENT=1
      ITEM="HTML_Abbreviation"
        CAPTION="Abb&reviation"
        IMAGE="Abbreviation"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<abbr>','</abbr>');"
        REQ_DOCUMENT=1
      ITEM="Acronym"
        CAPTION="Acron&ym"
        IMAGE="CapInitial"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<acronym>','</acronym>');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="HTML_Definition"
        CAPTION="De&finition"
        IMAGE="Italic"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<dfn>','</dfn>');"
        REQ_DOCUMENT=1
      ITEM="Deleted_Text"
        CAPTION="De&leted Text"
        IMAGE="Strikethrough"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<del>','</del>');"
        REQ_DOCUMENT=1
      ITEM="Inserted_Text"
        CAPTION="&Inserted Text"
        IMAGE="Underline"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<ins>','</ins>');"
        REQ_DOCUMENT=1
    END="Text>"
    SUBMENU="Paragraph>"
        CAPTION="&Paragraph"
        IMAGE="Paragraph"
        REQ_DOCUMENT=1
      ITEM="HTML_Empty"
        CAPTION="&Empty"
        IMAGE="DocEmpty"
        MACRO="LetReg(0,!'p');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="HTML_Class"
        CAPTION="Cla&ss"
        IMAGE="Style"
        MACRO="Exe('%b\Menus\Insert\HTML\ParClass.edt');"
        REQ_DOCUMENT=1
      ITEM="Par_Justify"
        CAPTION="&Justify"
        IMAGE="AlignJust"
        MACRO="LetReg(0,!'justify');Exe('%b\Menus\Insert\HTML\Par.edt');"
        REQ_DOCUMENT=1
      ITEM="Par_Center"
        CAPTION="&Center"
        IMAGE="AlignCenter"
        MACRO="LetReg(0,!'center');Exe('%b\Menus\Insert\HTML\Par.edt');"
        REQ_DOCUMENT=1
      ITEM="Par_Right"
        CAPTION="&Right"
        IMAGE="AlignRight"
        MACRO="LetReg(0,!'right');Exe('%b\Menus\Insert\HTML\Par.edt');"
        REQ_DOCUMENT=1
      ITEM="Par_Left"
        CAPTION="&Left"
        IMAGE="AlignLeft"
        MACRO="LetReg(0,!'left');Exe('%b\Menus\Insert\HTML\Par.edt');"
        REQ_DOCUMENT=1
    END="Paragraph>"
    SUBMENU="Divide>"
        CAPTION="&Divide"
        IMAGE="Div"
        REQ_DOCUMENT=1
      ITEM="Empty"
        CAPTION="&Empty"
        IMAGE="DocEmpty"
        MACRO="LetReg(0,!'div');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Class"
        CAPTION="Cla&ss"
        IMAGE="Style"
        MACRO="Exe('%b\Menus\Insert\HTML\DivClass.edt');"
        REQ_DOCUMENT=1
      ITEM="Justify"
        CAPTION="&Justify"
        IMAGE="AlignJust"
        MACRO="LetReg(0,!'justify');Exe('%b\Menus\Insert\HTML\Div.edt');"
        REQ_DOCUMENT=1
      ITEM="HTML_Center"
        CAPTION="&Center"
        IMAGE="AlignCenter"
        MACRO="LetReg(0,!'center');Exe('%b\Menus\Insert\HTML\Div.edt');"
        REQ_DOCUMENT=1
      ITEM="Right"
        CAPTION="&Right"
        IMAGE="AlignRight"
        MACRO="LetReg(0,!'right');Exe('%b\Menus\Insert\HTML\Div.edt');"
        REQ_DOCUMENT=1
      ITEM="Left"
        CAPTION="&Left"
        IMAGE="AlignLeft"
        MACRO="LetReg(0,!'left');Exe('%b\Menus\Insert\HTML\Div.edt');"
        REQ_DOCUMENT=1
    END="Divide>"
    SUBMENU="Heading>"
        CAPTION="&Heading"
        IMAGE="Heading"
        REQ_DOCUMENT=1
      ITEM="HTML_H1"
        CAPTION="H&1"
        IMAGE="H1"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<h1>','</h1>');"
        REQ_DOCUMENT=1
      ITEM="HTML_H2"
        CAPTION="H&2"
        IMAGE="H2"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<h2>','</h2>');"
        REQ_DOCUMENT=1
      ITEM="HTML_H3"
        CAPTION="H&3"
        IMAGE="H3"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<h3>','</h3>');"
        REQ_DOCUMENT=1
      ITEM="HTML_H4"
        CAPTION="H&4"
        IMAGE="H4"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<h4>','</h4>');"
        REQ_DOCUMENT=1
      ITEM="HTML_H5"
        CAPTION="H&5"
        IMAGE="H5"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<h5>','</h5>');"
        REQ_DOCUMENT=1
      ITEM="HTML_H6"
        CAPTION="H&6"
        IMAGE="H6"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<h6>','</h6>');"
        REQ_DOCUMENT=1
    END="Heading>"
    SUBMENU="HTML_Font>"
        CAPTION="&Font"
        IMAGE="Bold"
        REQ_DOCUMENT=1
      ITEM="HTML_Bold"
        CAPTION="&Bold"
        IMAGE="Bold"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<b>','</b>');"
        REQ_DOCUMENT=1
      ITEM="Italic"
        CAPTION="&Italic"
        IMAGE="Italic"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<i>','</i>');"
        REQ_DOCUMENT=1
      ITEM="HTML_Teletype"
        CAPTION="&Teletype"
        IMAGE="Teletype"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<tt>','</tt>');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Strong"
        CAPTION="&Strong"
        IMAGE="Bold"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<strong>','</strong>');"
        REQ_DOCUMENT=1
      ITEM="Emphasize"
        CAPTION="&Emphasize"
        IMAGE="Italic"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<em>','</em>');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Big"
        CAPTION="Bi&g"
        IMAGE="CapLarge"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<big>','</big>');"
        REQ_DOCUMENT=1
      ITEM="Small"
        CAPTION="Sma&ll"
        IMAGE="CapSmall"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<small>','</small>');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="HTML_Sup"
        CAPTION="Su&p"
        IMAGE="Superscript"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<sup>','</sup>');"
        REQ_DOCUMENT=1
      ITEM="HTML_Sub"
        CAPTION="S&ub"
        IMAGE="Subscript"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<sub>','</sub>');"
        REQ_DOCUMENT=1
    END="HTML_Font>"
    ITEM="-"
    SUBMENU="HTML_Lists>"
        CAPTION="&Lists"
        IMAGE="ListItem"
        REQ_DOCUMENT=1
      ITEM="Wizard_Lists"
        CAPTION="Wi&zard"
        IMAGE="Wizard"
        MACRO="LetReg(0,!'wizard');Exe('%b\Menus\Insert\HTML\List.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Unordered"
        CAPTION="&Unordered"
        IMAGE="ListItem"
        MACRO="LetReg(0,!'ul');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="Ordered"
        CAPTION="&Ordered"
        IMAGE="ListEnum"
        MACRO="LetReg(0,!'ol');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="Definition"
        CAPTION="&Definition"
        IMAGE="ListDesc"
        MACRO="LetReg(0,!'dl');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="List_Item"
        CAPTION="&List Item"
        IMAGE="ListItemItem"
        MACRO="LetReg(0,!'li');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="$List_Items_(n)"
        CAPTION="List Items (&n)"
        MACRO="LetReg(0,!'items');Exe('%b\Menus\Insert\HTML\List.edt');"
        REQ_DOCUMENT=1
      ITEM="$Make_Items"
        CAPTION="M&ake Items"
        MACRO="LetReg(0,!'make_items');Exe('%b\Menus\Insert\HTML\List.edt');"
        REQ_DOCUMENT=1
      ITEM="Definition_Term"
        CAPTION="Definition &Term"
        IMAGE="ListDescTerm"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<dt>','</dt>');"
        REQ_DOCUMENT=1
      ITEM="Definition_Description"
        CAPTION="Definition De&scription"
        IMAGE="ListDescDesc"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<dd>','</dd>');"
        REQ_DOCUMENT=1
      ITEM="$Definition_Term/Desc_(n)"
        CAPTION="Definition Ter&m/Desc (n)"
        MACRO="LetReg(0,!'term');Exe('%b\Menus\Insert\HTML\List.edt');"
        REQ_DOCUMENT=1
    END="HTML_Lists>"
    SUBMENU="Table>"
        CAPTION="&Table"
        IMAGE="Table"
        REQ_DOCUMENT=1
      ITEM="Wizard_Tables"
        CAPTION="Wi&zard"
        IMAGE="Wizard"
        MACRO="LetReg(0,!'wizard');Exe('%b\Menus\Insert\HTML\Table.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="HTML_Table"
        CAPTION="&Table"
        IMAGE="Table"
        MACRO="LetReg(0,!'table');Exe('%b\Menus\Insert\HTML\Table.edt');"
        REQ_DOCUMENT=1
      ITEM="Caption"
        CAPTION="&Caption"
        IMAGE="TableCaption"
        MACRO="LetReg(0,!'caption');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Column_Group"
        CAPTION="Column &Group"
        IMAGE="Columns"
        MACRO="LetReg(0,!'col_group');Exe('%b\Menus\Insert\HTML\Table.edt');"
        REQ_DOCUMENT=1
      ITEM="Column_Group_(single)"
        CAPTION="Col&umn Group (single)"
        IMAGE="ColumnsSingle"
        MACRO="LetReg(0,!'col_span');Exe('%b\Menus\Insert\HTML\Table.edt');"
        REQ_DOCUMENT=1
      ITEM="Column_Spec"
        CAPTION="Column &Spec"
        IMAGE="ColumnsAttribute"
        MACRO="LetReg(0,!'col_spec');Exe('%b\Menus\Insert\HTML\Table.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Table_Head"
        CAPTION="Table H&ead"
        IMAGE="TableHead"
        MACRO="LetReg(0,!'thead');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="Table_Foot"
        CAPTION="Table &Foot"
        IMAGE="TableFoot"
        MACRO="LetReg(0,!'tfoot');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="Table_Body"
        CAPTION="Table &Body"
        IMAGE="TableBody"
        MACRO="LetReg(0,!'tbody');Exe('%b\Menus\Insert\HTML\Tag.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Table_Row"
        CAPTION="Table &Row"
        IMAGE="InsertRow"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<tr>','</tr>');"
        REQ_DOCUMENT=1
      ITEM="$Make_Row"
        CAPTION="M&ake Row"
        MACRO="LetReg(0,!'rows');Exe('%b\Menus\Insert\HTML\Table.edt');"
        REQ_DOCUMENT=1
      ITEM="Table_Data"
        CAPTION="Table &Data"
        IMAGE="InsertCell"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<td>','</td>');"
        REQ_DOCUMENT=1
      ITEM="$Table_Data_(n)"
        CAPTION="Tab&le Data (n)"
        MACRO="LetReg(0,!'data');Exe('%b\Menus\Insert\HTML\Table.edt');"
        REQ_DOCUMENT=1
      ITEM="Table_Header"
        CAPTION="Table &Header"
        IMAGE="TableHeader"
        MACRO="IfSel(2,'>',!'SetSel(0);');InsLabel('','<th>','</th>');"
        REQ_DOCUMENT=1
      ITEM="$Table_Header_(n)"
        CAPTION="Table Header (&n)"
        MACRO="LetReg(0,!'headers');Exe('%b\Menus\Insert\HTML\Table.edt');"
        REQ_DOCUMENT=1
      ITEM="Rows_Columns_(m_x_n)"
        CAPTION="Ro&ws && Columns (m x n)"
        IMAGE="Matrix"
        MACRO="LetReg(0,!'nxm');Exe('%b\Menus\Insert\HTML\Table.edt');"
        REQ_DOCUMENT=1
    END="Table>"
    SUBMENU="HTML_Objects>"
        CAPTION="&Objects"
        IMAGE="Objects"
        REQ_DOCUMENT=1
      ITEM="HTML_Image"
        CAPTION="&Image"
        IMAGE="Image"
        MACRO="LetReg(0,!'img');Exe('%b\Menus\Insert\HTML\Objects.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Object"
        CAPTION="&Object"
        IMAGE="Objects"
        MACRO="LetReg(0,!'data');Exe('%b\Menus\Insert\HTML\Objects.edt');"
        REQ_DOCUMENT=1
      ITEM="Object_(applet)"
        CAPTION="Object (app&let)"
        IMAGE="MacroInsert"
        MACRO="LetReg(0,!'app');Exe('%b\Menus\Insert\HTML\Objects.edt');"
        REQ_DOCUMENT=1
      ITEM="Object_(applet_parameters)"
        CAPTION="Objec&t (applet && parameters)"
        IMAGE="MacroCommand"
        MACRO="LetReg(0,!'apppar');Exe('%b\Menus\Insert\HTML\Objects.edt');"
        REQ_DOCUMENT=1
      ITEM="Parameter"
        CAPTION="&Parameter"
        IMAGE="MacroParameter"
        MACRO="LetReg(0,!'par');Exe('%b\Menus\Insert\HTML\Objects.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Image_Map"
        CAPTION="Image &Map"
        IMAGE="ImageMap"
        MACRO="LetReg(0,!'map');Exe('%b\Menus\Insert\HTML\Objects.edt');"
        REQ_DOCUMENT=1
      ITEM="Image_Map_Area"
        CAPTION="Image Map &Area"
        IMAGE="ImageMapArea"
        MACRO="LetReg(0,!'maparea');Exe('%b\Menus\Insert\HTML\Objects.edt');"
        REQ_DOCUMENT=1
      ITEM="$Image_Map_Area_(n)"
        CAPTION="Image Map Area (&n)"
        MACRO="LetReg(0,!'imagemaparea');Exe('%b\Menus\Insert\HTML\Objects.edt');"
        REQ_DOCUMENT=1
    END="HTML_Objects>"
    SUBMENU="Links>"
        CAPTION="Lin&ks"
        IMAGE="Hyperlink"
        REQ_DOCUMENT=1
      ITEM="Wizard_Links"
        CAPTION="Wi&zard"
        IMAGE="Wizard"
        MACRO="LetReg(0,!'wizard');Exe('%b\Menus\Insert\HTML\Links.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Link"
        CAPTION="&Link"
        IMAGE="Hyperlink"
        MACRO="LetReg(0,!'link');Exe('%b\Menus\Insert\HTML\Links.edt');"
        REQ_DOCUMENT=1
      ITEM="Link_(name)"
        CAPTION="Link (&name)"
        IMAGE="LinkName"
        MACRO="LetReg(0,!'link_name');Exe('%b\Menus\Insert\HTML\Links.edt');"
        REQ_DOCUMENT=1
      ITEM="Link_(href)"
        CAPTION="Link (&href)"
        IMAGE="Hyperlink"
        MACRO="LetReg(0,!'link_href');Exe('%b\Menus\Insert\HTML\Links.edt');"
        REQ_DOCUMENT=1
      ITEM="Link_(anchor)"
        CAPTION="Link (&anchor)"
        IMAGE="LinkAnchor"
        MACRO="LetReg(0,!'link_anchor');Exe('%b\Menus\Insert\HTML\Links.edt');"
        REQ_DOCUMENT=1
      ITEM="Link_(name_href)"
        CAPTION="Link (nam&e && href)"
        IMAGE="HyperlinkName"
        MACRO="LetReg(0,!'link_name_href');Exe('%b\Menus\Insert\HTML\Links.edt');"
        REQ_DOCUMENT=1
      ITEM="Mail_(address)"
        CAPTION="&Mail (address)"
        IMAGE="MailAddress"
        MACRO="LetReg(0,!'mail');Exe('%b\Menus\Insert\HTML\Links.edt');"
        REQ_DOCUMENT=1
      ITEM="Mail_(name_address)"
        CAPTION="Mail (name && a&ddress)"
        IMAGE="MailNameAddress"
        MACRO="LetReg(0,!'mail_address');Exe('%b\Menus\Insert\HTML\Links.edt');"
        REQ_DOCUMENT=1
      ITEM="Base"
        CAPTION="&Base"
        IMAGE="Link"
        MACRO="LetReg(0,!'base');Exe('%b\Menus\Insert\HTML\Links.edt');"
        REQ_DOCUMENT=1
    END="Links>"
    ITEM="-"
    SUBMENU="Frames>"
        CAPTION="Fra&mes"
        IMAGE="Frame"
        REQ_DOCUMENT=1
      ITEM="Frameset_(cols)"
        CAPTION="Frameset (&cols)"
        IMAGE="FrameColumns"
        MACRO="LetReg(0,!'frameset_col');Exe('%b\Menus\Insert\HTML\Frames.edt');"
        REQ_DOCUMENT=1
      ITEM="Frameset_(rows)"
        CAPTION="Frameset (&rows)"
        IMAGE="FrameRows"
        MACRO="LetReg(0,!'frameset_row');Exe('%b\Menus\Insert\HTML\Frames.edt');"
        REQ_DOCUMENT=1
      ITEM="Frame"
        CAPTION="Fra&me"
        IMAGE="Frame"
        MACRO="LetReg(0,!'frame');Exe('%b\Menus\Insert\HTML\Frames.edt');"
        REQ_DOCUMENT=1
      ITEM="$Frames_(n)"
        CAPTION="&Frames (n)"
        MACRO="LetReg(0,!'frames_n');Exe('%b\Menus\Insert\HTML\Frames.edt');"
        REQ_DOCUMENT=1
      ITEM="No_Frames"
        CAPTION="&No Frames"
        IMAGE="FrameDelete"
        MACRO="LetReg(0,!'noframes');Exe('%b\Menus\Insert\HTML\Frames.edt');"
        REQ_DOCUMENT=1
    END="Frames>"
    SUBMENU="Forms>"
        CAPTION="Fo&rms"
        IMAGE="Form"
        REQ_DOCUMENT=1
      ITEM="Wizard_Forms"
        CAPTION="Wi&zard"
        IMAGE="Wizard"
        MACRO="LetReg(0,!'wizard');Exe('%b\Menus\Insert\HTML\Forms.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Form"
        CAPTION="&Form"
        IMAGE="Form"
        MACRO="LetReg(0,!'form');Exe('%b\Menus\Insert\HTML\Forms.edt');"
        REQ_DOCUMENT=1
      ITEM="Fieldset"
        CAPTION="Fi&eldset"
        IMAGE="Fieldset"
        MACRO="LetReg(0,!'fieldset');Exe('%b\Menus\Insert\HTML\Forms.edt');"
        REQ_DOCUMENT=1
      ITEM="Legend"
        CAPTION="Legen&d"
        IMAGE="FormCaption"
        MACRO="LetReg(0,!'legend');Exe('%b\Menus\Insert\HTML\Forms.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Button"
        CAPTION="&Button"
        IMAGE="CmdButton"
        MACRO="LetReg(0,!'button');Exe('%b\Menus\Insert\HTML\Forms.edt');"
        REQ_DOCUMENT=1
      ITEM="Select"
        CAPTION="&Select"
        IMAGE="CmdSelect"
        MACRO="LetReg(0,!'select');Exe('%b\Menus\Insert\HTML\Forms.edt');"
        REQ_DOCUMENT=1
      ITEM="Multiple_Select"
        CAPTION="&Multiple Select"
        IMAGE="CmdSelectM"
        MACRO="LetReg(0,!'multi_select');Exe('%b\Menus\Insert\HTML\Forms.edt');"
        REQ_DOCUMENT=1
      ITEM="Option"
        CAPTION="&Option"
        IMAGE="CmdOption"
        MACRO="LetReg(0,!'options');Exe('%b\Menus\Insert\HTML\Forms.edt');"
        REQ_DOCUMENT=1
      ITEM="$Make_Options"
        CAPTION="M&ake Options"
        MACRO="LetReg(0,!'make_options');Exe('%b\Menus\Insert\HTML\Forms.edt');"
        REQ_DOCUMENT=1
      ITEM="$Option_(n)"
        CAPTION="Option (&n)"
        MACRO="LetReg(0,!'option_n');Exe('%b\Menus\Insert\HTML\Forms.edt');"
        REQ_DOCUMENT=1
      ITEM="Option_Group"
        CAPTION="Option &Group"
        IMAGE="CmdOptionGroup"
        MACRO="LetReg(0,!'option_group');Exe('%b\Menus\Insert\HTML\Forms.edt');"
        REQ_DOCUMENT=1
      ITEM="Text_Area"
        CAPTION="Te&xt Area"
        IMAGE="CmdTextArea"
        MACRO="LetReg(0,!'text_area');Exe('%b\Menus\Insert\HTML\Forms.edt');"
        REQ_DOCUMENT=1
      ITEM="HTML_Label"
        CAPTION="&Label"
        IMAGE="Label"
        MACRO="LetReg(0,!'label');Exe('%b\Menus\Insert\HTML\Forms.edt');"
        REQ_DOCUMENT=1
    END="Forms>"
    SUBMENU="Input_Controls>"
        CAPTION="Input &Controls"
        IMAGE="CmdInput"
        REQ_DOCUMENT=1
      ITEM="Input"
        CAPTION="&Input"
        IMAGE="CmdInput"
        MACRO="LetReg(0,!'input');Exe('%b\Menus\Insert\HTML\Input.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Text_Field"
        CAPTION="Te&xt Field"
        IMAGE="CmdText"
        MACRO="LetReg(0,!'text');Exe('%b\Menus\Insert\HTML\Input.edt');"
        REQ_DOCUMENT=1
      ITEM="Password"
        CAPTION="&Password"
        IMAGE="CmdPassword"
        MACRO="LetReg(0,!'password');Exe('%b\Menus\Insert\HTML\Input.edt');"
        REQ_DOCUMENT=1
      ITEM="Checkbox"
        CAPTION="&Checkbox"
        IMAGE="CmdCheck"
        MACRO="LetReg(0,!'checkbox');Exe('%b\Menus\Insert\HTML\Input.edt');"
        REQ_DOCUMENT=1
      ITEM="Radio"
        CAPTION="&Radio"
        IMAGE="CmdRadio"
        MACRO="LetReg(0,!'radio');Exe('%b\Menus\Insert\HTML\Input.edt');"
        REQ_DOCUMENT=1
      ITEM="Submit_Button"
        CAPTION="&Submit Button"
        IMAGE="Check"
        MACRO="LetReg(0,!'submit');Exe('%b\Menus\Insert\HTML\Input.edt');"
        REQ_DOCUMENT=1
      ITEM="Reset_Button"
        CAPTION="Rese&t Button"
        IMAGE="Delete"
        MACRO="LetReg(0,!'reset');Exe('%b\Menus\Insert\HTML\Input.edt');"
        REQ_DOCUMENT=1
      ITEM="Push_Button"
        CAPTION="P&ush Button"
        IMAGE="CmdButton"
        MACRO="LetReg(0,!'push');Exe('%b\Menus\Insert\HTML\Input.edt');"
        REQ_DOCUMENT=1
      ITEM="Hidden"
        CAPTION="&Hidden"
        IMAGE="CmdHidden"
        MACRO="LetReg(0,!'hidden');Exe('%b\Menus\Insert\HTML\Input.edt');"
        REQ_DOCUMENT=1
      ITEM="Image"
        CAPTION="&Image"
        IMAGE="Image"
        MACRO="LetReg(0,!'image');Exe('%b\Menus\Insert\HTML\Input.edt');"
        REQ_DOCUMENT=1
    END="Input_Controls>"
    SUBMENU="ASP>"
        CAPTION="&ASP"
        IMAGE="ASP"
        REQ_DOCUMENT=1
      ITEM="Code"
        CAPTION="&Code"
        IMAGE="Code"
        MACRO="LetReg(0,!'code');Exe('%b\Menus\Insert\HTML\ASP.edt');"
        REQ_DOCUMENT=1
      ITEM="Value"
        CAPTION="&Value"
        IMAGE="Variables"
        MACRO="LetReg(0,!'value');Exe('%b\Menus\Insert\HTML\ASP.edt');"
        REQ_DOCUMENT=1
    END="ASP>"
    ITEM="-"
    SUBMENU="HTML_3.2>"
        CAPTION="HTML &3.2"
        IMAGE="HyperlinkDelete"
        REQ_DOCUMENT=1
      ITEM="Center"
        CAPTION="&Center"
        IMAGE="AlignCenter"
        MACRO="LetReg(0,!'center');Exe('%b\Menus\Insert\HTML\HTML32.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Basefont"
        CAPTION="&Basefont"
        IMAGE="Font"
        MACRO="LetReg(0,!'basefont');Exe('%b\Menus\Insert\HTML\HTML32.edt');"
        REQ_DOCUMENT=1
      ITEM="Font_(empty)"
        CAPTION="&Font (empty)"
        IMAGE="Font"
        MACRO="LetReg(0,!'font_empty');Exe('%b\Menus\Insert\HTML\HTML32.edt');"
        REQ_DOCUMENT=1
      ITEM="Font_(face)"
        CAPTION="Font (fac&e)"
        IMAGE="Font"
        MACRO="LetReg(0,!'font_face');Exe('%b\Menus\Insert\HTML\HTML32.edt');"
        REQ_DOCUMENT=1
      ITEM="Font_(size)"
        CAPTION="Font (si&ze)"
        IMAGE="Font"
        MACRO="LetReg(0,!'font_size');Exe('%b\Menus\Insert\HTML\HTML32.edt');"
        REQ_DOCUMENT=1
      ITEM="Font_(face_size)"
        CAPTION="F&ont (face && size)"
        IMAGE="Font"
        MACRO="LetReg(0,!'font_face_size');Exe('%b\Menus\Insert\HTML\HTML32.edt');"
        REQ_DOCUMENT=1
      ITEM="S-"
        CAPTION="&S"
        IMAGE="Strikethrough"
        MACRO="LetReg(0,!'s');Exe('%b\Menus\Insert\HTML\HTML32.edt');"
        REQ_DOCUMENT=1
      ITEM="Strike"
        CAPTION="S&trike"
        IMAGE="Strikethrough"
        MACRO="LetReg(0,!'strike');Exe('%b\Menus\Insert\HTML\HTML32.edt');"
        REQ_DOCUMENT=1
      ITEM="U_"
        CAPTION="&U"
        IMAGE="Underline"
        MACRO="LetReg(0,!'u');Exe('%b\Menus\Insert\HTML\HTML32.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Applet"
        CAPTION="&Applet"
        IMAGE="Macro"
        MACRO="LetReg(0,!'app');Exe('%b\Menus\Insert\HTML\HTML32.edt');"
        REQ_DOCUMENT=1
    END="HTML_3.2>"
    ITEM="-"
    SUBMENU="Fix_Code>"
        CAPTION="F&ix Code"
        IMAGE="Check"
        REQ_DOCUMENT=1
      ITEM="Update_Time_Stamps"
        CAPTION="Update &Time Stamps"
        IMAGE="Time"
        MACRO="Exe('%b\Menus\Insert\HTML\Date.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Compress"
        CAPTION="Co&mpress"
        IMAGE="Zip"
        MACRO="Exe('%b\Menus\Insert\HTML\Compress.edt');"
        REQ_DOCUMENT=1
      ITEM="Decomment"
        CAPTION="&Decomment"
        IMAGE="CommentRemove"
        MACRO="Exe('%b\Menus\Insert\HTML\Decomment.edt');"
        REQ_DOCUMENT=1
      ITEM="Quote_Unquoted_Values"
        CAPTION="&Quote Unquoted Values"
        IMAGE="Quotation"
        MACRO="LetReg(0,!'quote');Exe('%b\Menus\Insert\HTML\Fix.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="Upper_Case_Tags"
        CAPTION="&Upper Case Tags"
        IMAGE="CapLarge"
        MACRO="LetReg(0,!'upper_tags');Exe('%b\Menus\Insert\HTML\Fix.edt');"
        REQ_DOCUMENT=1
      ITEM="Lower_Case_Tags"
        CAPTION="&Lower Case Tags"
        IMAGE="CapSmall"
        MACRO="LetReg(0,!'lower_tags');Exe('%b\Menus\Insert\HTML\Fix.edt');"
        REQ_DOCUMENT=1
      ITEM="Upper_Case_Attributes"
        CAPTION="Upper Case &Attributes"
        IMAGE="CapLarge"
        MACRO="LetReg(0,!'upper_att');Exe('%b\Menus\Insert\HTML\Fix.edt');"
        REQ_DOCUMENT=1
      ITEM="Lower_Case_Attributes"
        CAPTION="Lower Case Attri&butes"
        IMAGE="CapSmall"
        MACRO="LetReg(0,!'lower_att');Exe('%b\Menus\Insert\HTML\Fix.edt');"
        REQ_DOCUMENT=1
      ITEM="Upper_Case_Values"
        CAPTION="Upper Case &Values"
        IMAGE="CapLarge"
        MACRO="LetReg(0,!'upper_val');Exe('%b\Menus\Insert\HTML\Fix.edt');"
        REQ_DOCUMENT=1
      ITEM="Lower_Case_Values"
        CAPTION="Lower Case Value&s"
        IMAGE="CapSmall"
        MACRO="LetReg(0,!'lower_val');Exe('%b\Menus\Insert\HTML\Fix.edt');"
        REQ_DOCUMENT=1
      ITEM="-"
      ITEM="$->_amp;"
        CAPTION="&& -> &&amp;"
        MACRO="LetReg(0,!'amp');Exe('%b\Menus\Insert\HTML\Fix.edt');"
        REQ_DOCUMENT=1
      ITEM="$<_->_lt;"
        CAPTION="< -> &&lt;"
        MACRO="LetReg(0,!'lt');Exe('%b\Menus\Insert\HTML\Fix.edt');"
        REQ_DOCUMENT=1
      ITEM="$>_->_gt;"
        CAPTION="> -> &&gt;"
        MACRO="LetReg(0,!'gt');Exe('%b\Menus\Insert\HTML\Fix.edt');"
        REQ_DOCUMENT=1
      ITEM="$""_->_quot;"
        CAPTION=""" -> &&quot;"
        MACRO="LetReg(0,!'quot');Exe('%b\Menus\Insert\HTML\Fix.edt');"
        REQ_DOCUMENT=1
    END="Fix_Code>"
  END="HTML_Menu"
  ITEM="-"
  SUBMENU="NSIS_Menu"
      CAPTION="&NSIS"
      CONFIG_FILTER="Default;NSIS"
      IMAGE="NSIS"
      REQ_DOCUMENT=1
    ITEM="NSIS_Section"
      CAPTION="&Section"
      IMAGE="Section"
      MACRO="EnterReg(9,'Section name:','Insert Section');"+
            "Exe('%b\Menus\Insert\NSIS\Section.edt');"
      REQ_DOCUMENT=1
    ITEM="NSIS_Function"
      CAPTION="&Function"
      IMAGE="Function"
      MACRO="EnterReg(9,'Function name:','Insert Function');"+
            "Exe('%b\Menus\Insert\NSIS\Function.edt');"
      REQ_DOCUMENT=1
    ITEM="NSIS_Macro"
      CAPTION="&Macro"
      IMAGE="Macro"
      MACRO="EnterReg(9,'Macro name:','Insert Macro');"+
            "Exe('%b\Menus\Insert\NSIS\Macro.edt');"
      REQ_DOCUMENT=1
  END="NSIS_Menu"
END="&Insert"

MENU="&Document"
  CAPTION="&Document"
  ITEM="New_Document"
    CAPTION="&New Document..."
    IMAGE="DocNew"
    MACRO="NewDoc('',1);"
    SHORTCUT="24654::Shift+Ctrl+N"
  ITEM="-"
  ITEM="Document_Settings"
    CAPTION="&Document Settings..."
    IMAGE="DocSettings"
    MACRO="DocumentSettings;"
    REQ_DOCUMENT=1
  ITEM="Word_Count"
    CAPTION="&Word Count..."
    IMAGE="DocInfo"
    MACRO="WordCount;"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Get_Mode"
    CAPTION="Get &Mode"
    IMAGE="GetMode"
    MACRO="Exe('%b\Macros\GetMode.edt');"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Get_Folder"
    CAPTION="&Get Folder..."
    IMAGE="FolderGet"
    MACRO="Prompt('Current Directory is: %\%!P');"
    SHORTCUT="16456::Ctrl+H"
  ITEM="Set_Folder"
    CAPTION="&Set Folder..."
    IMAGE="FolderSet"
    MACRO="SetFolder('%p');Prompt('Current Directory Set to: %\%!P');"
    SHORTCUT="24648::Shift+Ctrl+H"
    REQ_DOCUMENT=1
    REQ_FILE=1
  ITEM="Home_Folder"
    CAPTION="&Home Folder"
    IMAGE="FolderHome"
    MACRO="SetFolder(@@|%$('Home-Folder');|);"
    SHORTCUT="49224::Ctrl+Alt+H"
  ITEM="-"
  ITEM="LOG_File"
    CAPTION="&LOG File"
    IMAGE="LOG"
    MACRO="UpdateFile('%E');Open('%E',1);"
    SHORTCUT="16460::Ctrl+L"
    REQ_FILTER="%E"
  ITEM="STD_Output_File"
    CAPTION="STD &Output File"
    IMAGE="STD"
    MACRO="CloseFile('%b\_Run.log',1);Open('%b\_Run.log',1,1,-1);"+
          "GotoCL(1,1);TrackCaret;"
    SHORTCUT="24655::Shift+Ctrl+O"
    REQ_FILTER="%b\_Run.log"
  ITEM="-"
  ITEM="BAK_File"
    CAPTION="BAK File"
    IMAGE="BAK"
    MACRO="Open('%R',1);"
    REQ_FILTER=:%R|"%R==%f"
    REQ_DOCUMENT=1
    REQ_FILE=1
  ITEM="SAV_File"
    CAPTION="SAV File"
    IMAGE="SAV"
    MACRO="Open('%A',1);"
    REQ_FILTER=:%A|"%A==%f"
    REQ_DOCUMENT=1
    REQ_FILE=1
  ITEM="-"
  SUBMENU="Samples>"
      CAPTION="Samples"
      CONFIG_FILTER="Default;MiKTeX;TeX Live;HTML"
      IMAGE="Sample"
    ITEM="LaTeX_Demo"
      CAPTION="&LaTeX Demo"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="DocLaTeX"
      MACRO="[LetReg(9,!'Samples\Examples\Demo.tex');"+
             "Exe('%b\Macros\OpenSample.edt');]"
    ITEM="UTF-8_Demo"
      CAPTION="&UTF-8 Demo"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="Unicode"
      MACRO="[LetReg(9,!'Samples\Examples\UTF-8.tex');"+
             "Exe('%b\Macros\OpenSample.edt');]"
    ITEM="GUI_Symbols"
      CAPTION="&GUI Symbols"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="GUI"
      MACRO="[LetReg(9,!'Samples\GUI\GuiSource.tex');"+
             "Exe('%b\Macros\OpenSample.edt');]"
    ITEM="-"
    ITEM="PhD_Thesis_Sample"
      CAPTION="&PhD Thesis"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="ThesisPhD"
      MACRO="[LetReg(9,!'Samples\Thesis\Thesis.tex');"+
             "Exe('%b\Macros\OpenSample.edt');"+
             "CreateFolders('%b\Samples\Thesis\TeXAux');]"
    ITEM="AMS_Paper"
      CAPTION="&AMS Paper"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="DocAMS"
      MACRO="[LetReg(9,!'Samples\Paper\Paper.tex');"+
             "Exe('%b\Macros\OpenSample.edt');]"
    ITEM="-"
    ITEM="BibTeX_-_LaTeX"
      CAPTION="BibTeX - &LaTeX"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="BookLaTeX"
      MACRO="[LetReg(9,!'Samples\Bib\xbib.tex');"+
             "Exe('%b\Macros\OpenSample.edt');]"
    ITEM="BibTeX_-_Data"
      CAPTION="BibTeX - &Data"
      CONFIG_FILTER="Default;MiKTeX;TeX Live"
      IMAGE="BookBibTeX"
      MACRO="[LetReg(1,!'Samples\Bib\xbib.bib');"+
             "Exe('%b\Config\OpenLocalCopy.edt');]"
    ITEM="-"
    ITEM="HTML_www_Sample"
      CAPTION="HTML &www Sample"
      CONFIG_FILTER="Default;HTML"
      IMAGE="DocHTML"
      MACRO="[LetReg(9,!'Samples\www\index.html');"+
             "Exe('%b\Macros\OpenSample.edt');]"
    ITEM="HTML_Help_Sample"
      CAPTION="HTML &Help Sample"
      CONFIG_FILTER="Default;HTML"
      IMAGE="HtmlHelp"
      MACRO="[LetReg(9,!'Samples\HTML\Help.hhc');"+
             "Exe('%b\Macros\OpenSample.edt');]"
  END="Samples>"
END="&Document"

MENU="&Project"
  CAPTION="&Project"
  ITEM="New_Project"
    CAPTION="&New Project"
    IMAGE="PrjNew"
    MACRO="NewPrj;"
  ITEM="Open_Project"
    CAPTION="&Open Project..."
    IMAGE="PrjOpen"
    MACRO="OpenPrj;"
  ITEM="-"
  ITEM="Save_Project"
    CAPTION="&Save Project"
    IMAGE="PrjSave"
    MACRO="SavePrj;"
  ITEM="Save_Project_As"
    CAPTION="Save Project &As..."
    IMAGE="PrjSaveAs"
    MACRO="SavePrjAs;"
  ITEM="-"
  ITEM="Close_Project"
    CAPTION="&Close Project"
    IMAGE="PrjClose"
    MACRO="ClosePrj;"
  ITEM="Quit_Project"
    CAPTION="&Quit Project"
    IMAGE="PrjQuit"
    MACRO="ClosePrj(1,1);"
  ITEM="-"
  ITEM="Project_Manager"
    CAPTION="&Project Manager..."
    IMAGE="PrjManager"
    MACRO="ProjectManager;"
  ITEM="-"
  ITEM="Set_Main_File"
    CAPTION="Set &Main File"
    IMAGE="MainAdd"
    MACRO="SetMainFile('%f');Assign('MAIN_FILE','%f');BuildTree;ErrorLogUpdate;"+
          "Exe('%b\Macros\Events\MDIActivate.edt');"
    SHORTCUT="16500::Ctrl+F5"
    REQ_DOCUMENT=1
    REQ_FILE=1
  ITEM="Remove_Main_File"
    CAPTION="&Remove Main File"
    IMAGE="MainRemove"
    MACRO="SetMainFile;Assign('MAIN_FILE','');"+
          "Exe('%b\Macros\Events\MDIActivate.edt');"
    SHORTCUT="24692::Shift+Ctrl+F5"
    REQ_MAIN_FILE=1
  ITEM="-"
  ITEM="Build_Tree"
    CAPTION="Build &Tree"
    IMAGE="AutoTree"
    MACRO="BuildTree;"
    SHORTCUT="116::F5"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Auto-select_TOC_Branch"
    CAPTION="Auto-select TOC &Branch"
    IMAGE="AutoTOC"
    MACRO="TreeSelectBranch('TOC');TreeAutoSelect(1,'TOC',1,2,0,2);"
  ITEM="Auto-select_Tree_Files"
    CAPTION="Auto-select Tree &Files"
    IMAGE="AutoFiles"
    MACRO="TreeSelectBranch;TreeAutoSelect(1,'',1,2,0,2);"
  ITEM="Auto-select_Off_(X)"
    CAPTION="Auto-select Off (&X)"
    IMAGE="AutoOff"
    MACRO="TreeAutoSelect(-1);"
  ITEM="-"
  SUBMENU="Recent_Projects_List>"
      CAPTION="Recent Projects &List"
      IMAGE="Prj"
    ITEM="Complete_Project_List"
      CAPTION="Complete Project &List..."
      IMAGE="Prj"
      MACRO="ShowProjectList;"
    ITEM="-"
    ITEM="Default_Project"
      CAPTION="&Default Project"
      IMAGE="WinEdt"
      MACRO="DefaultPrj;"
    ITEM="-"
  END="Recent_Projects_List>"
END="&Project"

MENU="&View"
  CAPTION="&View"
  ITEM="Tree_Show"
    CAPTION="&Tree..."
    IMAGE="Tree"
    MACRO="ShowTree;"
  ITEM="-"
  ITEM="Gather_Interface"
    CAPTION="&Gather..."
    IMAGE="Gather"
    MACRO="ShowGather;"
  ITEM="-"
  ITEM="Character_Map"
    CAPTION="&Character Map..."
    IMAGE="CharMap"
    MACRO="ShowCharacterMap;"
  ITEM="Unicode_Preview"
    CAPTION="&Unicode Preview..."
    IMAGE="Unicode"
    MACRO="ShowUnicodePreview;"
  ITEM="TeX_Symbols"
    CAPTION="TeX &Symbols..."
    IMAGE="GUI"
    MACRO="ShowGUIPage;"
  ITEM="-"
  ITEM="Toolbar"
    CAPTION="Tool&bar"
    IMAGE="Toolbar"
    MACRO="ShowToolBar;"
  ITEM="Document_Tabs"
    CAPTION="&Document Tabs"
    IMAGE="Tabs"
    MACRO="ShowDocTabs;"
  ITEM="Status_Line"
    CAPTION="Status &Line"
    IMAGE="StatusBar"
    MACRO="ShowStatusLine;"
  ITEM="-"
  ITEM="Toggle_View"
    CAPTION="Toggle &View"
    IMAGE="ChangeView"
    MACRO="ChangeView(2,0,0);"
    SHORTCUT="24763::Shift+Ctrl+="
    REQ_DOCUMENT=1
  ITEM="Toggle_Line_Numbers"
    CAPTION="Line &Numbers"
    IMAGE="LineNumbers"
    MACRO="ShowLineNumbers;"
    SHORTCUT="16571::Ctrl+="
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Toggle_Folding_Margin"
    CAPTION="&Folding Margin"
    IMAGE="Folding"
    MACRO="ShowFoldingMargin;"
    SHORTCUT="118::F7"
    REQ_DOCUMENT=1
END="&View"

MENU="&Tools"
  CAPTION="&Tools"
  ITEM="Erase_Output_Files"
    CAPTION="Erase &Output Files..."
    IMAGE="Recycle"
    MACRO="Exe('%b\Exec\Erase Working Files.edt');"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Thesaurus"
    CAPTION="&Thesaurus"
    IMAGE="Thesaurus"
    MACRO="Exe('%b\Menus\Tools\Word Web.edt');"
    SHORTCUT="49165::Ctrl+Alt+Enter"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Abbreviation"
    CAPTION="&Abbreviation"
    IMAGE="Abbreviation"
    MACRO="TriggerAbbreviation;"
    SHORTCUT="32781::Alt+Enter"
    REQ_DOCUMENT=1
  ITEM="Check_Word"
    CAPTION="Check &Word"
    IMAGE="Spell"
    MACRO="CheckWord;"
    SHORTCUT="8205::Shift+Enter"
    REQ_DOCUMENT=1
  ITEM="Complete_Word"
    CAPTION="&Complete Word"
    IMAGE="Complete"
    MACRO="Exe('%b\Menus\Tools\Complete Word.edt');"
    SHORTCUT="16397::Ctrl+Enter"
    REQ_DOCUMENT=1
  ITEM="Spell_Check"
    CAPTION="&Spell Check..."
    IMAGE="Spell"
    MACRO="SpellCheck;"
    SHORTCUT="32885::Alt+F6"
    REQ_DOCUMENT=1
  ITEM="Next_Error"
    CAPTION="Ne&xt Error"
    IMAGE="Right1"
    MACRO="NextSpellingError;"
    SHORTCUT="117::F6"
    REQ_DOCUMENT=1
  ITEM="Previous_Error"
    CAPTION="Previous &Error"
    IMAGE="Left1"
    MACRO="PrevSpellingError;"
    SHORTCUT="8309::Shift+F6"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Insert_Page_Break"
    CAPTION="Insert Page &Break"
    IMAGE="PageBreak"
    MACRO="Chr(12);"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Insert_Bullet"
    CAPTION="&Insert Bullet"
    IMAGE="Bullet"
    MACRO="InsertBullet;"
    SHORTCUT="49184::Ctrl+Alt+Space"
    REQ_DOCUMENT=1
  ITEM="Next_Bullet"
    CAPTION="&Next Bullet"
    IMAGE="Right"
    MACRO="Exe('%b\Menus\Tools\Next Bullet.edt');"
    SHORTCUT="16416::Ctrl+Space"
    REQ_DOCUMENT=1
  ITEM="Previous_Bullet"
    CAPTION="&Previous Bullet"
    IMAGE="Left"
    MACRO="PreviousBullet;"
    SHORTCUT="24608::Shift+Ctrl+Space"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Mark_Selection"
    CAPTION="Mark Selection"
    IMAGE="Mark"
    MACRO="MarkSelection(0,1);"
    SHORTCUT="8313::Shift+F10"
    REQ_DOCUMENT=1
    REQ_SELECTED_TEXT=1
  ITEM="Restore_Selection"
    CAPTION="Restore Selection"
    IMAGE="GotoMark"
    MACRO="RestoreSelection(0,1);"
    SHORTCUT="121::F10"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Global_Mark"
    CAPTION="Global &Mark"
    IMAGE="GlobalMark"
    MACRO="GlobalMark;"
    SHORTCUT="24697::Shift+Ctrl+F10"
    REQ_DOCUMENT=1
  ITEM="Global_Return"
    CAPTION="Global &Return"
    IMAGE="GlobalReturn"
    MACRO="GlobalReturn;"
    SHORTCUT="16505::Ctrl+F10"
  ITEM="-"
  ITEM="Evaluate_Expression"
    CAPTION="Evaluate Expression"
    IMAGE="Evaluate"
    MACRO="LetRegNum(0,'%S');SetSel(0);Ins(' = %!0');"
    REQ_DOCUMENT=1
    REQ_SELECTED_TEXT=1
  ITEM="Enumerate_Lines"
    CAPTION="Enumerate Lines..."
    IMAGE="Enumerate"
    MACRO="EnumerateLines;"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Sort_Lines"
    CAPTION="Sort &Lines..."
    IMAGE="Sort"
    MACRO="Sort;"
    REQ_DOCUMENT=1
END="&Tools"

MENU="&Macros"
  CAPTION="&Macros"
  ITEM="Record_and_Play"
    CAPTION="Record and &Play..."
    IMAGE="PlayRecord"
    MACRO="RepeatMacro;"
  ITEM="Recorder"
    CAPTION="&Recorder..."
    IMAGE="Recorder"
    MACRO="ShowMacroRecorder;"
  ITEM="-"
  ITEM="Play_Macro_Once"
    CAPTION="Play Macro &Once"
    IMAGE="Play1"
    MACRO="PlayMacroOnce;"
    SHORTCUT="32958::Alt+."
  ITEM="Play_Macro"
    CAPTION="Play &Macro"
    IMAGE="Play"
    MACRO="PlayMacro;"
    SHORTCUT="41150::Shift+Alt+."
  ITEM="-"
  ITEM="Repeat_Last_Command"
    CAPTION="Repeat &Last Command"
    IMAGE="Redo"
    MACRO="RepeatLastCommand;"
    SHORTCUT="16574::Ctrl+."
  ITEM="-"
  ITEM="Activate"
    CAPTION="&Active String"
    IMAGE="StringMatch"
    MACRO="TriggerActiveString;"
    SHORTCUT="40973::Shift+Alt+Enter"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Insert_Macro"
    CAPTION="&Insert Macro..."
    IMAGE="MacroInsert"
    MACRO="InsertItem('%B\Config\Edt\Mcr.dat','','Insert Macro',0,0);"
    REQ_DOCUMENT=1
  ITEM="Insert_%Parameter"
    CAPTION="Insert &%Parameter..."
    IMAGE="MacroParameter"
    MACRO="InsertItem('%B\Config\Edt\Var.dat','','Insert %%Parameter',1,1);"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Variables"
    CAPTION="&Variables..."
    IMAGE="Variables"
    MACRO="Variables;"
  ITEM="-"
  ITEM="Run_Startup_Macro"
    CAPTION="Run &Startup Macro"
    IMAGE="MacroStartupRun"
    MACRO="Exe('%b\Config\Startup.edt');"
  ITEM="-"
  ITEM="Define_and_Run_Macro"
    CAPTION="&Define and Run Macro..."
    IMAGE="MacroRunDefine"
    MACRO="RunPrompt('Run Macro ...',1);"
  ITEM="-"
  ITEM="Execute_Current_Macro"
    CAPTION="Execute &Current Macro"
    IMAGE="MacroRun"
    MACRO="Exe('%b\Config\ExeScript.edt');"
    SHORTCUT="24696::Shift+Ctrl+F9"
    REQ_FILTER=:"%!m=ASCII:EDT"?"%!m=DATA:INI:EDT"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Execute_Macro_Script"
    CAPTION="&Execute Macro Script..."
    IMAGE="MacroView"
    MACRO="Exe('%b\Macros\ExeMcr.edt');"
    SHORTCUT="16504::Ctrl+F9"
END="&Macros"

MENU="&Accessories"
  CAPTION="&Accessories"
  ITEM="Compile"
    CAPTION="&Compile"
    CONFIG_FILTER="Default"
    IMAGE="Compile"
    SAVE_INPUT=1
    MACRO="Exe('%b\Exec\Compile.edt');"
    SHORTCUT="120::F9"
    REQ_FILTER=`"%!M=HTML:HHC"*%P\%N.hhp?"%F==%P\%N.hhp"?"%!M=XWE"?"%!M=TeX"?`+
               `"%!M=MetaPost"?"%!M=MetaFont"?"%!M=NSIS"`+
               `|"%!M=TeX:STY"|"%!M=TeX:AUX"|"%!M=MetaPost:AUX"|"%!M=NSIS:NSH"`
  ITEM="Compile_Selected"
    CAPTION="Compile &Selected"
    CONFIG_FILTER="Default"
    IMAGE="CompileSel"
    MACRO="Exe('%b\Exec\Compile Selected.edt');"
    SHORTCUT="8312::Shift+F9"
    REQ_FILTER=`"%!M=TeX"*"%!m=TeX"`+
               `|"%!M=TeX:STY"|"%!M=TeX:AUX"|"%!m=TeX:STY"|"%!m=TeX:AUX"`
    REQ_DOCUMENT=1
    REQ_SELECTED_TEXT=1
  ITEM="Preview"
    CAPTION="&Preview"
    CONFIG_FILTER="Default"
    IMAGE="Preview"
    MACRO="Exe('%b\Exec\Preview.edt');"
    SHORTCUT="119::F8"
    REQ_FILTER=`%$('NSIS-Installer');*"%F==%$('NSIS-Source');"|"%F=="?`+
               `%P\%N.pdf?%P\%N.dvi?%P\%N.ps?%P\%N.eps?%p\%n.eps?%P\%N.chm?`+
               `%P\%N.php?%P\%N.htm?%P\%N.html?%p\%n.php?%p\%n.htm?%p\%n.html`
  ITEM="TeX:Compile"
    CAPTION="&Compile"
    CONFIG_FILTER="MiKTeX;TeX Live|Default"
    IMAGE="Compile"
    SAVE_INPUT=1
    MACRO="Exe('%b\Exec\TeX\Compile.edt');"
    SHORTCUT="120::F9"
    REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
  ITEM="TeX:Compile_Selected"
    CAPTION="Compile &Selected"
    CONFIG_FILTER="MiKTeX;TeX Live|Default"
    IMAGE="CompileSel"
    MACRO="Exe('%b\Exec\TeX\Compile Selected.edt');"
    SHORTCUT="8312::Shift+F9"
    REQ_FILTER=`"%!M=TeX"*"%!m=TeX"`+
               `|"%!M=TeX:STY"|"%!M=TeX:AUX"|"%!m=TeX:STY"|"%!m=TeX:AUX"`
    REQ_DOCUMENT=1
    REQ_SELECTED_TEXT=1
  ITEM="TeX:Preview"
    CAPTION="&Preview"
    CONFIG_FILTER="MiKTeX;TeX Live|Default"
    IMAGE="Preview"
    MACRO="Exe('%b\Exec\TeX\Preview.edt');"
    SHORTCUT="119::F8"
    REQ_FILTER=:%P\%N.pdf?%P\%N.dvi?%P\%N.ps?%P\%N.eps?%p\%n.eps
  ITEM="-"
  ITEM="HTML_Help_Compiler"
    CAPTION="HTML &Help Compiler"
    CONFIG_FILTER="Default"
    IMAGE="HtmlHelp"
    SAVE_INPUT=1
    MACRO="Exe('%b\Exec\HTML\Compile.edt');"
    REQ_FILTER=:"%!M=HTML:HHC"*%P\%N.hhp?"%F==%P\%N.hhp"?"%!M=XWE"
  ITEM="HTML_Preview"
    CAPTION="HTML Pre&view"
    CONFIG_FILTER="Default"
    IMAGE="IExplorer"
    SAVE_INPUT=1
    MACRO="Exe('%b\Exec\HTML\Preview.edt');"
    REQ_FILTER=`%P\%N.chm?%P\%N.php?%P\%N.htm?%P\%N.html?`+
               `%p\%n.php?%p\%n.htm?%p\%n.html`
  ITEM="HTML:HTML_Help_Compiler"
    CAPTION="HTML &Help Compiler"
    CONFIG_FILTER="HTML"
    IMAGE="HtmlHelp"
    SAVE_INPUT=1
    MACRO="Exe('%b\Exec\HTML\Compile.edt');"
    SHORTCUT="120::F9"
    REQ_FILTER=:"%!M=HTML:HHC"*%P\%N.hhp?"%F==%P\%N.hhp"?"%!M=XWE"
  ITEM="HTML:HTML_Preview"
    CAPTION="HTML Pre&view"
    CONFIG_FILTER="HTML"
    IMAGE="IExplorer"
    SAVE_INPUT=1
    MACRO="Exe('%b\Exec\HTML\Preview.edt');"
    SHORTCUT="119::F8"
    REQ_FILTER=`%P\%N.chm?%P\%N.php?%P\%N.htm?%P\%N.html?`+
               `%p\%n.php?%p\%n.htm?%p\%n.html`
  ITEM="-"
  ITEM="Compile_NSIS_Script"
    CAPTION="Compile &NSIS Script"
    CONFIG_FILTER="Default"
    IMAGE="NSIS"
    SAVE_INPUT=1
    MACRO="Exe('%b\Exec\NSIS\Compile.edt');"
    REQ_FILTER=:"%!M=NSIS"|"%!M=NSIS:NSH"
  ITEM="Run_NSIS_Installer"
    CAPTION="&Run NSIS Installer"
    CONFIG_FILTER="Default"
    IMAGE="Run"
    MACRO="Exe('%b\Exec\NSIS\Preview.edt');"
    REQ_FILTER=:%$('NSIS-Installer');*"%F==%$('NSIS-Source');"|"%F=="
  ITEM="NSIS:Compile_NSIS_Script"
    CAPTION="Compile &NSIS Script"
    CONFIG_FILTER="NSIS"
    IMAGE="NSIS"
    SAVE_INPUT=1
    MACRO="Exe('%b\Exec\NSIS\Compile.edt');"
    SHORTCUT="120::F9"
    REQ_FILTER=:"%!M=NSIS"|"%!M=NSIS:NSH"
  ITEM="NSIS:Run_NSIS_Installer"
    CAPTION="&Run NSIS Installer"
    CONFIG_FILTER="NSIS"
    IMAGE="Run"
    MACRO="Exe('%b\Exec\NSIS\Preview.edt');"
    SHORTCUT="119::F8"
    REQ_FILTER=:%$('NSIS-Installer');*"%F==%$('NSIS-Source');"|"%F=="
  ITEM="-"
  ITEM="Windows_Explorer"
    CAPTION="Windows &Explorer"
    IMAGE="Explorer"
    MACRO=`Run('explorer.exe /n,/e, "%!P"','%!P',0,0,'Windows Explorer');`
  ITEM="Command_Prompt"
    CAPTION="Command Prompt"
    IMAGE="CommandPrompt"
    MACRO="Run('%$(|CMD|);','%!P',0,0,'%$(|CMDTitle|);',1,1);"
  ITEM="Calculator"
    CAPTION="Calculator"
    IMAGE="Calculator"
    MACRO="Run('calc.exe','%!P',0,0,'Calculator',1,1);"
  ITEM="-"
  ITEM="Notepad"
    CAPTION="Notepad"
    IMAGE="Notepad"
    MACRO="Run('notepad.exe','%!P',0,0,'Notepad',1,1);"
  ITEM="MS_Paint"
    CAPTION="MS Paint"
    IMAGE="Paint"
    MACRO="Run('mspaint.exe','%!P',0,0,'Paint');"
  ITEM="-"
  ITEM="WinEdt_Console"
    CAPTION="&WinEdt Console..."
    IMAGE="WinEdtConsole"
    MACRO="ShowConsole;FocusConsole(1);"
    SHORTCUT="24643::Shift+Ctrl+C"
END="&Accessories"

MENU="TeX_Menu"
  CAPTION="Te&X"
  CONFIG_FILTER="Default;MiKTeX;TeX Live"
  ITEM="PDFTeXify"
    CAPTION="PDFTe&Xify"
    IMAGE="TeXPDFTeXify"
    SAVE_INPUT=1
    MACRO="Exe('%b\Exec\TeX\PDFTeXify.edt');"
    SHORTCUT="24656::Shift+Ctrl+P"
    REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
  ITEM="TeXify"
    CAPTION="&TeXify"
    IMAGE="TeXTeXify"
    SAVE_INPUT=1
    MACRO="Exe('%b\Exec\TeX\TeXify.edt');"
    SHORTCUT="24664::Shift+Ctrl+X"
    REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
  ITEM="-"
  SUBMENU="PDF>"
      CAPTION="&PDF"
      IMAGE="AcroRead"
      REQ_DOCUMENT=1
    ITEM="PDF_Preview"
      CAPTION="PDF Pre&view"
      IMAGE="AcroRead"
      MACRO="Exe('%b\Exec\PDF\PDF Preview.edt');"
      SHORTCUT="24658::Shift+Ctrl+R"
      REQ_FILTER="%P\%N.pdf"
    ITEM="PDF_Search"
      CAPTION="PDF &Search"
      IMAGE="AcroFind"
      MACRO="Exe('%b\Exec\PDF\PDF Search.edt');"
      SHORTCUT="8311::Shift+F8"
      REQ_FILTER="%P\%N.synctex?%P\%N.synctex.gz*%P\%N.pdf"
      REQ_DOCUMENT=1
      REQ_FILE=1
    ITEM="-"
    ITEM="PDFLaTeX"
      CAPTION="PDF&LaTeX"
      IMAGE="TeXPDFLaTeX"
      SAVE_INPUT=1
      MACRO="Exe('%b\Exec\TeX\PDFLaTeX.edt');"
      REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
    ITEM="PDFTeX"
      CAPTION="PDF&TeX"
      IMAGE="TeXPDFTeX"
      SAVE_INPUT=1
      MACRO="Exe('%b\Exec\TeX\PDFTeX.edt');"
      REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
    ITEM="-"
    ITEM="LuaLaTeX"
      CAPTION="LuaLaTeX"
      IMAGE="TeXLuaLaTeX"
      SAVE_INPUT=1
      MACRO="Exe('%b\Exec\TeX\LuaLaTeX.edt');"
      REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
    ITEM="LuaTeX"
      CAPTION="LuaTeX"
      IMAGE="TeXLuaTeX"
      SAVE_INPUT=1
      MACRO="Exe('%b\Exec\TeX\LuaTeX.edt');"
      REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
    ITEM="-"
    ITEM="XeLaTeX"
      CAPTION="XeLaTeX"
      IMAGE="TeXXeLaTeX"
      SAVE_INPUT=1
      MACRO="Exe('%b\Exec\TeX\XeLaTeX.edt');"
      REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
    ITEM="XeTeX"
      CAPTION="XeTeX"
      IMAGE="TeXXeTeX"
      SAVE_INPUT=1
      MACRO="Exe('%b\Exec\TeX\XeTeX.edt');"
      REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
    ITEM="-"
    ITEM="dvi2pdf"
      CAPTION="&dvi2pdf"
      IMAGE="DviPdf"
      MACRO="Exe('%b\Exec\TeX\dvi2pdf.edt');"
      REQ_FILTER="%P\%N.dvi"
    ITEM="ps2pdf"
      CAPTION="&ps2pdf"
      IMAGE="PsPdf"
      MACRO="Exe('%b\Exec\TeX\ps2pdf.edt');"
      REQ_FILTER="%P\%N.ps"
  END="PDF>"
  ITEM="-"
  SUBMENU="DVI>"
      CAPTION="&DVI"
      IMAGE="DviView"
      REQ_DOCUMENT=1
    ITEM="DVI_Preview"
      CAPTION="DVI Pre&view"
      IMAGE="DviView"
      MACRO="Exe('%b\Exec\TeX\DVI Preview.edt');"
      SHORTCUT="24662::Shift+Ctrl+V"
      REQ_FILTER="%P\%N.dvi"
    ITEM="DVI_Search"
      CAPTION="DVI &Search"
      IMAGE="DviFind"
      MACRO="Exe('%b\Exec\TeX\DVI Search.edt');"
      SHORTCUT="24659::Shift+Ctrl+S"
      REQ_FILTER="%P\%N.dvi"
      REQ_DOCUMENT=1
      REQ_FILE=1
    ITEM="-"
    ITEM="LaTeX"
      CAPTION="&LaTeX"
      IMAGE="TeXLaTeX"
      SAVE_INPUT=1
      MACRO="Exe('%b\Exec\TeX\LaTeX.edt');"
      SHORTCUT="24652::Shift+Ctrl+L"
      REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
    ITEM="TeX"
      CAPTION="&TeX"
      IMAGE="TeXTeX"
      SAVE_INPUT=1
      MACRO="Exe('%b\Exec\TeX\TeX.edt');"
      SHORTCUT="24660::Shift+Ctrl+T"
      REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
    ITEM="AMSTeX"
      CAPTION="&AMSTeX"
      IMAGE="TeXAMSTeX"
      SAVE_INPUT=1
      MACRO="Exe('%b\Exec\TeX\AMSTeX.edt');"
      SHORTCUT="24641::Shift+Ctrl+A"
      REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
    ITEM="-"
    ITEM="GSView"
      CAPTION="&GSView"
      IMAGE="GSView"
      MACRO="Exe('%b\Exec\TeX\GSView.edt');"
      REQ_FILTER=:%P\%N.ps?%P\%N.pdf?%p\%n.ps?%p\%n.eps
    ITEM="DVIPS"
      CAPTION="&DVIPS"
      IMAGE="DviPs"
      MACRO="Exe('%b\Exec\TeX\dvi2ps.edt');"
      SHORTCUT="24644::Shift+Ctrl+D"
      REQ_FILTER="%P\%N.dvi"
  END="DVI>"
  ITEM="-"
  ITEM="ConTeXt"
    CAPTION="&ConTeXt"
    IMAGE="TeXConTeXt"
    SAVE_INPUT=1
    MACRO="Exe('%b\Exec\TeX\ConTeXt.edt');"
    REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
  ITEM="-"
  ITEM="BibTeX"
    CAPTION="&BibTeX"
    IMAGE="BibTeX"
    MACRO="Exe('%b\Exec\TeX\BibTeX.edt');"
    SHORTCUT="24642::Shift+Ctrl+B"
    REQ_FILTER=:%O\%N.aux*"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
  ITEM="Make_Index"
    CAPTION="Make &Index"
    IMAGE="Index"
    MACRO="Exe('%b\Exec\TeX\MakeIndex.edt');"
    SHORTCUT="24649::Shift+Ctrl+I"
    REQ_FILTER=`%O\%N.idx*"%!M=TeX"`+
               `|"%!M=TeX:INS"|"%!M=TeX:DTX"|"%!M=TeX:STY"|"%!M=TeX:AUX"`
  ITEM="Make_Glossary"
    CAPTION="Make &Glossary"
    IMAGE="Glossary"
    MACRO="Exe('%b\Exec\TeX\MakeGlossary.edt');"
    SHORTCUT="24647::Shift+Ctrl+G"
    REQ_FILTER=`%O\%N.glo?%$('File-glo');?%O\%N.acr*"%!M=TeX"`+
               `|"%!M=TeX:INS"|"%!M=TeX:DTX"|"%!M=TeX:STY"|"%!M=TeX:AUX"`
  ITEM="-"
  SUBMENU="HTML>"
      CAPTION="&HTML"
      IMAGE="IExplorer"
      REQ_DOCUMENT=1
    ITEM="TeXHTML_Preview"
      CAPTION="HTML Pre&view"
      IMAGE="IExplorer"
      MACRO="Exe('%b\Exec\HTML\Preview.edt');"
      REQ_FILTER="%P\%N.html"
    ITEM="-"
    ITEM="LaTeX2HTML"
      CAPTION="&LaTeX -> HTML"
      IMAGE="LaTeX2HTML"
      SAVE_INPUT=1
      MACRO="Exe('%b\Exec\TeX\LaTeX2HTML.edt');"
      REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
    ITEM="TeX2HTML"
      CAPTION="&TeX -> HTML"
      IMAGE="TeX2HTML"
      SAVE_INPUT=1
      MACRO="Exe('%b\Exec\TeX\TeX2HTML.edt');"
      REQ_FILTER=:"%!M=TeX"|"%!M=TeX:STY"|"%!M=TeX:AUX"
    ITEM="-"
    ITEM="TtH"
      CAPTION="TtH"
      IMAGE="TtH"
      SAVE_INPUT=1
      MACRO="Exe('%b\Exec\TeX\TtH.edt');"
      REQ_FILTER=`"%!M=TeX"`+
                 `|"%!M=TeX:INS"|"%!M=TeX:DTX"|"%!M=TeX:STY"|"%!M=TeX:AUX"`
  END="HTML>"
  ITEM="-"
  ITEM="MetaFont"
    CAPTION="Meta&Font"
    IMAGE="MetaFont"
    SAVE_INPUT=1
    MACRO="Exe('%b\Exec\TeX\MetaFont.edt');"
    REQ_FILTER=:"%!M=MetaFont"
  ITEM="MetaPost"
    CAPTION="&MetaPost"
    IMAGE="MetaPost"
    SAVE_INPUT=1
    MACRO="Exe('%b\Exec\TeX\MetaPost.edt');"
    SHORTCUT="24653::Shift+Ctrl+M"
    REQ_FILTER=:"%!M=MetaPost"|"%!M=MetaPost:AUX"
  ITEM="-"
  SUBMENU="Documented_LaTeX>"
      CAPTION="Documented LaTeX"
      IMAGE="DTX"
      REQ_DOCUMENT=1
    ITEM="Build_Index"
      CAPTION="Build &Index"
      IMAGE="Index"
      MACRO="Exe('%b\Exec\TeX\DTXIndex.edt');"
      REQ_FILTER=:"%!M=TeX:INS"?"%!M=TeX:DTX"*%O\%N.idx
    ITEM="Build_Change_History"
      CAPTION="Build &Change History"
      IMAGE="Glossary"
      MACRO="Exe('%b\Exec\TeX\DTXGlossary.edt');"
      REQ_FILTER=:"%!M=TeX:INS"?"%!M=TeX:DTX"*%O\%N.glo
  END="Documented_LaTeX>"
  ITEM="-"
  ITEM="MiKTeX_Options"
    CAPTION="Mi&KTeX Console"
    CONFIG_FILTER="MiKTeX"
    IMAGE="MacroScript"
    // MiKTeX >= 2.9.6630
    MACRO=`ShellExecute('open',`+
          `'%$(|TeX-Bin|);\miktex-console%$(|MiKTeX-Admin|);.exe','','',10);`
    REQ_FILTER="%$('TeX-Bin');\miktex-console%$('MiKTeX-Admin');.exe"
//  SUBMENU="MiKTeX>"
//      CAPTION="Mi&KTeX"
//      CONFIG_FILTER="MiKTeX"
//      IMAGE="TeXMiKTeX"
//    ITEM="MiKTeX_Options"
//      CAPTION="MiKTeX &Options"
//      IMAGE="MacroScript"
//      // MiKTeX 2.9, 2.8
//      MACRO=`ShellExecute('open',`+
//            `'%$(|TeX-Bin|);\mo%$(|MiKTeX-Admin|);.exe');`
//      REQ_FILTER="%$('TeX-Bin');\mo%$('MiKTeX-Admin');.exe"
//      // MiKTeX < 2.8
//      // MACRO="ShellExecute('open','%$(|TeX-Bin|);\mo.exe');"
//      // REQ_FILTER="%$('TeX-Bin');\mo.exe"
//    ITEM="MiKTeX_Package_Manager"
//      CAPTION="MiKTeX &Package Manager"
//      IMAGE="Package"
//      // MiKTeX 2.9, 2.8
//      MACRO=`ShellExecute('open',`+
//            `'%$(|TeX-Bin|);\mpm_mfc%$(|MiKTeX-Admin|);.exe');`
//      REQ_FILTER="%$('TeX-Bin');\mpm_mfc%$('MiKTeX-Admin');.exe"
//      // MiKTeX 2.7, 2.6
//      // MACRO="ShellExecute('open','%$(|TeX-Bin|);\mpm_mfc.exe');"
//      // REQ_FILTER="%$('TeX-Bin');\mpm_mfc.exe"
//      // MiKTeX < 2.6
//      // MACRO="ShellExecute('open','%$(|TeX-Bin|);\mpm.exe');"
//      // REQ_FILTER="%$('TeX-Bin');\mpm.exe"
//    ITEM="-"
//    ITEM="MiKTeX_Update_Wizard"
//      CAPTION="MiKTeX &Update Wizard"
//      IMAGE="Wizard"
//      // MiKTeX 2.9, 2.8
//      MACRO=`ShellExecute('open',`+
//            `'%$(|TeX-Bin|);\internal\copystart%$(|MiKTeX-Admin|);.exe',`+
//            `'"%$(|TeX-Bin|);\internal\miktex-update%$(|MiKTeX-Admin|);.exe"');`
//      REQ_FILTER="%$('TeX-Bin');\internal\miktex-update%$('MiKTeX-Admin');.exe"
//      // MiKTeX 2.7, 2.6
//      // MACRO=`ShellExecute('open','%$(|TeX-Bin|);\copystart_admin.exe',`+
//      //       `'"%$(|TeX-Root|);\miktex\config\update.dat"');`
//      // REQ_FILTER="%$('TeX-Bin');\copystart_admin.exe"
//      // MiKTeX < 2.6
//      // MACRO=`ShellExecute('open','%$(|TeX-Bin|);\copystart.exe',`+
//      //       `'"%$(|TeX-Root|);\miktex\config\update.dat"');`
//      // REQ_FILTER="%$('TeX-Bin');\copystart.exe"
//  END="MiKTeX>"
  ITEM="TeX_Live_Manager"
    CAPTION="TeX Live &Manager"
    CONFIG_FILTER="TeX Live"
    IMAGE="MacroScript"
    // TeX Live >= 2008
    MACRO="WinExe('','tlmgr.bat -gui','','',1000);"
    REQ_FILTER="%$('TeX-Bin');\tlmgr.bat"
    // TeX Live 2007
    // MACRO="Run(|%$('TeX-Root');\setuptl\tlpmgui.exe|);"
    // REQ_FILTER="%$('TeX-Root');\setuptl\tlpmgui.exe"
    // TeX Live < 2007
    // MACRO="Run(|%$('TeX-Root');\setup-win32\tlpmgui.exe|);"
    // REQ_FILTER="%$('TeX-Root');\setup-win32\tlpmgui.exe"
  ITEM="-"
  // My User Interface (using WinEdt MUI Macros)
  SUBMENU="MUI>"
      CAPTION="M&UI"
      IMAGE="Window"
    ITEM="psnup"
      CAPTION="psn&up..."
      IMAGE="PsNup"
      START_FOLDER="%P"
      MACRO="Exe('%b\MUI\psutils\psn.edt','%P');"
    ITEM="psselect"
      CAPTION="ps&select..."
      IMAGE="PsSelect"
      START_FOLDER="%P"
      MACRO="Exe('%b\MUI\psutils\pss.edt','%P');"
    ITEM="psbooklet"
      CAPTION="ps&booklet..."
      IMAGE="PsBooklet"
      START_FOLDER="%P"
      MACRO="Exe('%b\MUI\psutils\psb.edt','%P');"
    ITEM="psresize"
      CAPTION="ps&resize..."
      IMAGE="PsResize"
      START_FOLDER="%P"
      MACRO="Exe('%b\MUI\psutils\psr.edt','%P');"
    ITEM="-"
    ITEM="Include_Graphics_MUI"
      CAPTION="Include &Graphics..."
      IMAGE="IncludeGraphics"
      START_FOLDER="%P"
      MACRO="Exe('%b\MUI\Graphics\Graphics.edt','%P');"
    ITEM="-"
    ITEM="MUI_Sample_(psnup)"
      CAPTION="&MUI Sample (psnup)..."
      IMAGE="PsNup"
      MACRO="Exe('%b\MUI\psnup\psnup.edt');"
  END="MUI>"
END="TeX_Menu"

// User's Menu with Extras...
// By default empty and invisible
MENU="User_Menu"
  CAPTION="&User"
  INVISIBLE=1
END="User_Menu"

MENU="&Options"
  CAPTION="&Options"
  ITEM="Configuration_Wizard"
    CAPTION="Configuration &Wizard..."
    IMAGE="Wizard"
    MACRO="WinEdtWizard('WinEdt Configuration Wizard');"
  ITEM="Execution_Modes"
    CAPTION="&Execution Modes..."
    IMAGE="Console"
    MACRO="Exe(|%b\Exec\%$('Exec-Dir');\ExecModes.edt|);"
    REQ_FILTER="%b\Exec\%$('Exec-Dir');\ExecModes.edt?"+
               "%B\Exec\%$('Exec-Dir');\ExecModes.edt"
  ITEM="License_Monitor"
    CAPTION="&License Monitor..."
    IMAGE="Key"
    INVISIBLE=1
    MACRO="ShowLicenseMonitor;"
  ITEM="-"
  ITEM="Preferences"
    CAPTION="&Preferences..."
    IMAGE="UserPrefs"
    MACRO="PreferencesDialog;"
  ITEM="Advanced_Options"
    CAPTION="&Options Interface..."
    IMAGE="Options"
    MACRO="ShowAdvancedOptions;"
  ITEM="-"
  SUBMENU="Configurations>"
      CAPTION="&Configurations"
      IMAGE="Configurations"
    ITEM="Default_(Auto-Detect)"
      CAPTION="&Default (Auto-Detect)"
      IMAGE="WinEdt"
      MACRO="Exe('%b\Exec\Default\Load Config.edt');"
    ITEM="-"
    ITEM="MiKTeX+HTML+NSIS"
      CAPTION="&MiKTeX + HTML + NSIS"
      IMAGE="TeXMiKTeXPlus"
      MACRO="Exe('%b\Exec\Default-MiKTeX\Load Config.edt');"
    ITEM="TeX_Live+HTML+NSIS"
      CAPTION="&TeX Live + HTML + NSIS"
      IMAGE="TeXLivePlus"
      MACRO="Exe('%b\Exec\Default-TeX Live\Load Config.edt');"
    ITEM="-"
    ITEM="MiKTeX"
      CAPTION="MiKTe&X"
      IMAGE="TeXMiKTeX"
      MACRO="Exe('%b\Exec\MiKTeX\Load Config.edt');"
    ITEM="TeX_Live"
      CAPTION="TeX &Live"
      IMAGE="TeXLive"
      MACRO="Exe('%b\Exec\TeX Live\Load Config.edt');"
    ITEM="-"
    ITEM="HTML_Editor"
      CAPTION="&HTML Editor"
      IMAGE="Hyperlink"
      MACRO="Exe('%b\Exec\HTML\Load Config.edt');"
    ITEM="NSIS_Editor"
      CAPTION="&NSIS Editor"
      IMAGE="NSIS"
      MACRO="Exe('%b\Exec\NSIS\Load Config.edt');"
    ITEM="ASCII_Editor"
      CAPTION="&ASCII Editor"
      IMAGE="Omega"
      MACRO="Exe('%b\Exec\ASCII\Load Config.edt');"
  END="Configurations>"
  SUBMENU="Maintenance>"
      CAPTION="&Maintenance"
      IMAGE="Maintenance"
    ITEM="Cleanup"
      CAPTION="&Cleanup..."
      IMAGE="Cleanup"
      MACRO="Exe('%b\Config\Default\_Cleanup.edt');"
      REQ_FILTER=:|"%B==%b"
    ITEM="-"
    ITEM="Rebuild_All"
      CAPTION="Rebuild &All..."
      IMAGE="Compile"
      MACRO="Exe('%b\Config\Default\_Rebuild All.edt');"
    ITEM="Rebuild_Local"
      CAPTION="Rebuild &Local..."
      IMAGE="Compile"
      MACRO="Exe('%b\Config\Default\_Rebuild Local.edt');"
      REQ_FILTER=:|"%B==%b"
    ITEM="Rebuild_Default"
      CAPTION="Rebuild &Default..."
      IMAGE="Compile"
      MACRO="Exe('%b\Config\Default\_Rebuild Default.edt');"
      REQ_FILTER=:|"%B==%b"
    ITEM="-"
    ITEM="Upgrade_Personal_Configuration"
      CAPTION="&Upgrade Personal Configuration..."
      IMAGE="ConfigUpgrade"
      MACRO="Exe('%b\Config\Default\_Upgrade.edt');"
      REQ_FILTER=`|%b\Config\Update%$('Up-Build');\`+
                 `|"%$('Up-Build');==%$('First-Build');"|"%B==%b"`
    ITEM="Rollback_Personal_Configuration"
      CAPTION="&Rollback Personal Configuration..."
      IMAGE="ConfigRollback"
      MACRO="Exe('%b\Config\Default\_Rollback.edt');"
      REQ_FILTER=`%b\Config\Update%$('Up-Build');\`+
                 `|"%$('Up-Build');==%$('First-Build');"|"%B==%b"`
    ITEM="-"
    ITEM="Import_WinEdt_9_Settings"
      CAPTION="&Import WinEdt 9 Settings..."
      IMAGE="ConfigMigrate"
      MACRO="Exe('%b\Config\Default\_Migrate.edt');"
      REQ_FILTER=`%$('Old-AppData');\|%b\ConfigEx\|"%B==%b"`
  END="Maintenance>"
  ITEM="-"
  SUBMENU="Toolbar>"
      CAPTION="&Toolbar"
      IMAGE="Toolbar"
    ITEM="Toolbar_Default"
      CAPTION="&Default"
      IMAGE="WinEdt"
      MACRO="Assign('TOOLBAR','1d');Exe('%b\Config\ChangeToolbar.edt');"
    ITEM="-"
    ITEM="Toolbar_1_Large"
      CAPTION="1-row &Large"
      IMAGE="Toolbar"
      MACRO="Assign('TOOLBAR','1l');Exe('%b\Config\ChangeToolbar.edt');"
    ITEM="Toolbar_1_Small"
      CAPTION="1-row &Small"
      IMAGE="Toolbar"
      MACRO="Assign('TOOLBAR','1s');Exe('%b\Config\ChangeToolbar.edt');"
    ITEM="Toolbar_1_Custom"
      CAPTION="1-row &Custom"
      IMAGE="Toolbar"
      MACRO="Assign('TOOLBAR','1c');Exe('%b\Config\ChangeToolbar.edt');"
    ITEM="-"
    ITEM="Toolbar_Legacy"
      CAPTION="Legac&y Default"
      IMAGE="WinEdt"
      MACRO="Assign('TOOLBAR','');Exe('%b\Config\ChangeToolbar.edt');"
    ITEM="-"
    ITEM="Toolbar_2_Large"
      CAPTION="&2-row Large"
      IMAGE="Toolbar"
      MACRO="Assign('TOOLBAR','2l');Exe('%b\Config\ChangeToolbar.edt');"
    ITEM="Toolbar_2_Small"
      CAPTION="2-&row Small"
      IMAGE="Toolbar"
      MACRO="Assign('TOOLBAR','2s');Exe('%b\Config\ChangeToolbar.edt');"
    ITEM="Toolbar_2_Custom"
      CAPTION="2-ro&w Custom"
      IMAGE="Toolbar"
      MACRO="Assign('TOOLBAR','2c');Exe('%b\Config\ChangeToolbar.edt');"
    ITEM="-"
    ITEM="Toolbar_Old_Style"
      CAPTION="&Old Style"
      IMAGE="Toolbar"
      MACRO="Assign('TOOLBAR','5x');Exe('%b\Config\ChangeToolbar.edt');"
  END="Toolbar>"
  SUBMENU="Theme>"
      CAPTION="T&heme"
      IMAGE="Templates"
    ITEM="Theme_Default"
      CAPTION="&Default"
      IMAGE="WinEdt"
      MACRO="Assign('THEME','');Exe('%b\Config\ChangeTheme.edt');"
    ITEM="-"
    ITEM="Theme_Midnight_Black"
      CAPTION="&Midnight Black"
      IMAGE="Templates"
      MACRO="Assign('THEME','Midnight Black');Exe('%b\Config\ChangeTheme.edt');"
    ITEM="Theme_Midnight_Blue"
      CAPTION="Midnight &Blue"
      IMAGE="Templates"
      MACRO="Assign('THEME','Midnight Blue');Exe('%b\Config\ChangeTheme.edt');"
    ITEM="Theme_Midnight_Green"
      CAPTION="Midnight &Green"
      IMAGE="Templates"
      MACRO="Assign('THEME','Midnight Green');Exe('%b\Config\ChangeTheme.edt');"
    ITEM="-"
    ITEM="Theme_Solarized_Dark"
      CAPTION="&Solarized Dark"
      IMAGE="Templates"
      MACRO="Assign('THEME','Solarized Dark');Exe('%b\Config\ChangeTheme.edt');"
    ITEM="Theme_Solarized_Light"
      CAPTION="Solarized &Light"
      IMAGE="Templates"
      MACRO="Assign('THEME','Solarized Light');Exe('%b\Config\ChangeTheme.edt');"
    ITEM="-"
    ITEM="Theme_Easy_Gray"
      CAPTION="&Easy Gray"
      IMAGE="Templates"
      MACRO="Assign('THEME','Easy Gray');Exe('%b\Config\ChangeTheme.edt');"
  END="Theme>"
  ITEM="-"
  ITEM="Save_Settings"
    CAPTION="Save Settings"
    IMAGE="Save"
    MACRO="SaveSettings;"
//  ITEM="Export_Settings"
//    CAPTION="Export Settings..."
//    IMAGE="SaveAs"
//    START_FOLDER="%b"
//    MACRO="SaveSettings('',1);"
END="&Options"

MENU="&Window"
  CAPTION="&Window"
  ITEM="Cascade"
    CAPTION="&Cascade"
    IMAGE="WindowCascade"
    MACRO="MDICascade;"
    REQ_DOCUMENT=1
  ITEM="Tile_Vertically"
    CAPTION="Tile &Vertically"
    IMAGE="WindowTileVert"
    MACRO="MDITileVertically;"
    REQ_DOCUMENT=1
  ITEM="Tile_Horizontally"
    CAPTION="Tile &Horizontally"
    IMAGE="WindowTileHorz"
    MACRO="MDITileHorizontally;"
    REQ_DOCUMENT=1
  ITEM="Maximize"
    CAPTION="&Maximize"
    IMAGE="WindowMaximize"
    MACRO="MDIMaximizeAll;"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Split_Left"
    CAPTION="Split &Left"
    IMAGE="WindowSplitLeft"
    MACRO="MDISplit(3);"
    REQ_DOCUMENT=1
  ITEM="Split_Right"
    CAPTION="Split &Right"
    IMAGE="WindowSplitRight"
    MACRO="MDISplit(5);"
    REQ_DOCUMENT=1
  ITEM="Split_Top"
    CAPTION="Split &Top"
    IMAGE="WindowSplitTop"
    MACRO="MDISplit(2);"
    REQ_DOCUMENT=1
  ITEM="Split_Bottom"
    CAPTION="Split &Bottom"
    IMAGE="WindowSplitBottom"
    MACRO="MDISplit(4);"
    REQ_DOCUMENT=1
  ITEM="Enlarge"
    CAPTION="&Enlarge"
    IMAGE="WindowEnlarge"
    MACRO="MDISplit(1);"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Restore_All"
    CAPTION="Restore All"
    IMAGE="WindowRestore"
    MACRO="MDIRestoreAll;"
    REQ_DOCUMENT=1
  ITEM="Minimize_All"
    CAPTION="Minimize All"
    IMAGE="WindowMinimize"
    MACRO="MDIMinimizeAll;"
    REQ_DOCUMENT=1
  ITEM="Arrange_Icons"
    CAPTION="Arrange &Icons"
    IMAGE="WindowArrange"
    MACRO="MDIArrangeIcons;"
    REQ_DOCUMENT=1
  ITEM="-"
  ITEM="Close_All"
    CAPTION="Close &All"
    IMAGE="WindowClose"
    MACRO="MDICloseAll;"
    REQ_DOCUMENT=1
  ITEM="-"
  SUBMENU="MDI_Shortcuts>"
      CAPTION="MDI &Shortcuts"
      IMAGE="Keyboard"
      REQ_DOCUMENT=1
    ITEM="Document_List"
      CAPTION="Document &List..."
      IMAGE="Files"
      MACRO="ShowDocumentList(1);"
      SHORTCUT="113::F2"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Toggle_Window"
      CAPTION="&Toggle Windows"
      IMAGE="Invert"
      MACRO="ActivateNextChild(1,1);"
      SHORTCUT="8305::Shift+F2"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Next_Window"
      CAPTION="&Next Window"
      IMAGE="Right"
      MACRO="ActivateNextChild(1,0);"
      SHORTCUT="16572::Ctrl+,"
      REQ_DOCUMENT=1
    ITEM="Previous_Window"
      CAPTION="&Previous Window"
      IMAGE="Left"
      MACRO="ActivateNextChild(-1,0);"
      SHORTCUT="24764::Shift+Ctrl+,"
      REQ_DOCUMENT=1
    ITEM="-"
    ITEM="Next_MDI_Window"
      CAPTION="Next &MDI Window"
      IMAGE="Right1"
      MACRO="ActivateNextChild(1,2);"
      SHORTCUT="16393::Ctrl+Tab"
      REQ_DOCUMENT=1
    ITEM="Previous_MDI_Window"
      CAPTION="Previous MDI &Window"
      IMAGE="Left1"
      MACRO="ActivateNextChild(-1,2);"
      SHORTCUT="24585::Shift+Ctrl+Tab"
      REQ_DOCUMENT=1
  END="MDI_Shortcuts>"
  ITEM="-"
  SUBMENU="MDI_Windows>"
      CAPTION="MDI &Windows"
      IMAGE="Window"
      REQ_DOCUMENT=1
    ITEM="First_Window"
      CAPTION="&First Window"
      IMAGE="First"
      MACRO="ActivateNextChild(0,0,0);"
      REQ_DOCUMENT=1
    ITEM="Last_Window"
      CAPTION="&Last Window"
      IMAGE="Last"
      MACRO="ActivateNextChild(0,0,999);"
      REQ_DOCUMENT=1
  END="MDI_Windows>"
END="&Window"

MENU="&Help"
  CAPTION="&Help"
  ITEM="WinEdt_Manual"
    CAPTION="&WinEdt Manual"
    IMAGE="Help"
    MACRO="HTMLHelp('%B\Doc\Help\WinEdt.chm',1,1);"
    SHORTCUT="112::F1"
  ITEM="-"
  ITEM="Keyword_Search"
    CAPTION="&Keyword Search"
    IMAGE="KeywordSearch"
    MACRO="Exe('%b\Menus\Help\Keyword Help.edt');"
    SHORTCUT="16496::Ctrl+F1"
  ITEM="-"
  ITEM="LaTeX_Doc"
    CAPTION="LaTeX &Doc..."
    CONFIG_FILTER="MiKTeX"
    IMAGE="LaTeXHelp"
    MACRO="Exe('%b\Macros\Doc\TeXDoc.edt');"
    SHORTCUT="24688::Shift+Ctrl+F1"
  ITEM="TeX_Doc"
    CAPTION="TeX &Doc..."
    CONFIG_FILTER="TeX Live"
    IMAGE="TeXHelp"
    // TeX Live >= 2009, < 2008
    MACRO="WinExe('','texdoctk.exe','','',1000);"
    SHORTCUT="24688::Shift+Ctrl+F1"
    REQ_FILTER="%$('TeX-Bin');\texdoctk.exe"
    // TeX Live 2008
    // MACRO="WinExe('','texdoctk.bat','','',1000);"
    // REQ_FILTER="%$('TeX-Bin');\texdoctk.bat"
  ITEM="LaTeX_Help_e-Book"
    CAPTION="&LaTeX Help e-Book"
    CONFIG_FILTER="Default;MiKTeX;TeX Live"
    IMAGE="BookLaTeX"
    MACRO="HTMLHelp('%B\Doc\LaTeXHelpBook\LatexHelpBook.chm',1,1);"
  ITEM="MiKTeX_Help"
    CAPTION="&MiKTeX"
    CONFIG_FILTER="MiKTeX"
    IMAGE="TeXMiKTeX"
    MACRO="HTMLHelp(|%$('TeX-Root');\doc\miktex\miktex.chm|,1,1);"
    REQ_FILTER="%$('TeX-Root');\doc\miktex\miktex.chm"
  ITEM="TeX_Live_Guide"
    CAPTION="&TeX Live Guide"
    CONFIG_FILTER="TeX Live"
    IMAGE="TeXLive"
    // TeX Live >= 2009
    MACRO=`ShellExecute("open","%$('TeX-Help');\index.html","",`+
          `"%$('TeX-Help');",1);`
    REQ_FILTER="%$('TeX-Help');\index.html"
    // TeX Live 2008
    // MACRO=`Run(|%$('PDF-View'); `+
    //       `"%$('TeX-Root');\texmf-doc\doc\english\texlive-en\texlive-en.pdf"|);`
    // REQ_FILTER="%$('TeX-Root');\texmf-doc\doc\english\texlive-en\texlive-en.pdf"
    // TeX Live < 2008
    // MACRO=`Run(|%$('PDF-View'); `+
    //       `"%$('TeX-Root');\texmf-doc\doc\english\texlive-en\live.pdf"|);`
    // REQ_FILTER="%$('TeX-Root');\texmf-doc\doc\english\texlive-en\live.pdf"
  ITEM="Browse_TeX_Doc"
    CAPTION="&Browse TeX Doc..."
    CONFIG_FILTER="Default;MiKTeX;TeX Live"
    IMAGE="Browse"
    // MiKTeX; TeX Live >= 2009
    MACRO=`Run(|explorer.exe /n,/e, "%$('TeX-Help');"|,|%$('TeX-Help');|,0,0,`+
          `'Windows Explorer');`
    REQ_FILTER="%$('TeX-Help');\"
    // TeX Live < 2009
    // MACRO=`Run(|explorer.exe /n,/e, "%$('TeX-Root');\texmf-doc\doc"|,`+
    //       `|%$('TeX-Root');\texmf-doc\doc|,0,0,'Windows Explorer');`
    // REQ_FILTER="%$('TeX-Root');\texmf-doc\doc\"
  ITEM="-"
  ITEM="HTML_Tag_Reference"
    CAPTION="HTML &Tag Reference"
    CONFIG_FILTER="Default;HTML"
    IMAGE="HtmlHelp"
    MACRO="HTMLHelp(|%@('WINDIR');\Help\htmlref.chm|,1);"
    REQ_FILTER="%@('WINDIR');\Help\htmlref.chm"
  ITEM="HTML_Help"
    CAPTION="HTML &Help"
    CONFIG_FILTER="Default;HTML"
    IMAGE="HtmlHelp"
    MACRO="HTMLHelp(|%@('WINDIR');\Help\htmlhelp.chm|,1);"
    REQ_FILTER="%@('WINDIR');\Help\htmlhelp.chm"
  ITEM="-"
  ITEM="NSIS_Help"
    CAPTION="&NSIS"
    CONFIG_FILTER="Default;NSIS"
    IMAGE="NSIS"
    MACRO="HTMLHelp(|%$('NSIS-Root');\NSIS.chm|,1,1);"
    REQ_FILTER="%$('NSIS-Root');\NSIS.chm"
  ITEM="-"
  ITEM="Register_WinEdt"
    CAPTION="&Register WinEdt..."
    IMAGE="Register"
    MACRO="RegisterWinEdt;"
  ITEM="-"
  ITEM="About_WinEdt"
    CAPTION="&About WinEdt..."
    IMAGE="WinEdt"
    MACRO="AboutWinEdt;"
END="&Help"

// ===============================================================================

[END]
