#define IDR_MENU 10000
#define IDM_FILE 10001
#define IDM_FILE_NEW 10007
#define IDM_FILE_OPEN 10002
#define IDM_FILE_SAVE 10006
#define IDM_FILE_SAVEALL 10021
#define IDM_FILE_SAVEAS 10008
#define IDM_FILE_CLOSE 10019
#define IDM_FILE_CLOSEALL 10020
#define IDM_FILE_EXIT 10003
#define IDM_EDIT 10009
#define IDM_EDIT_UNDO 10010
#define IDM_EDIT_REDO 10011
#define IDM_EDIT_CUT 10012
#define IDM_EDIT_COPY 10013
#define IDM_EDIT_PASTE 10014
#define IDM_EDIT_DELETE 10015
#define IDM_EDIT_SELECTALL 10016
#define IDM_EDIT_GOTO 10024
#define IDM_EDIT_FIND 10017
#define IDM_EDIT_FINDNEXT 10022
#define IDM_EDIT_FINDPREVIOUS 10023
#define IDM_EDIT_REPLACE 10018
#define IDM_EDIT_BLOCK 10025
#define IDM_EDIT_BLOCKINDENT 10026
#define IDM_EDIT_BLOCKOUTDENT 10027
#define IDM_EDIT_BLOCKCOMMENT 10028
#define IDM_EDIT_BLOCKUNCOMMENT 10029
#define IDM_EDIT_BOOKMARK 10034
#define IDM_EDIT_BOOKMARKTOGGLE 10030
#define IDM_EDIT_BOOKMARKNEXT 10031
#define IDM_EDIT_BOOKMARKPREVIOUS 10032
#define IDM_EDIT_BOOKMARKDELETE 10033
#define IDM_HELP 10004
#define IDM_HELP_ABOUT 10005
IDR_MENU MENUEX
BEGIN
  POPUP "&File",IDM_FILE
  BEGIN
    MENUITEM "&New\tCtrl+N",IDM_FILE_NEW
    MENUITEM "&Open\tCtrl+O",IDM_FILE_OPEN
    MENUITEM "",,0x00000800
    MENUITEM "&Save\tCtrl+S",IDM_FILE_SAVE
    MENUITEM "Save &All\tCtrl+Shift+S",IDM_FILE_SAVEALL
    MENUITEM "Save As\tAlt+Ctrl+S",IDM_FILE_SAVEAS
    MENUITEM "",,0x00000800
    MENUITEM "&Close\tCtrl+C",IDM_FILE_CLOSE
    MENUITEM "Close All\tCtrl+Shift+C",IDM_FILE_CLOSEALL
    MENUITEM "",,0x00000800
    MENUITEM "E&xit\tAlt+F4",IDM_FILE_EXIT
  END
  POPUP "&Edit",IDM_EDIT
  BEGIN
    MENUITEM "&Undo\tCtrl+Z",IDM_EDIT_UNDO
    MENUITEM "&Redo\tCtrl+Y",IDM_EDIT_REDO
    MENUITEM "",,0x00000800
    MENUITEM "C&ut\tCtrl+X",IDM_EDIT_CUT
    MENUITEM "&Copy\tCtrl+C",IDM_EDIT_COPY
    MENUITEM "&Paste\tCtrl+V",IDM_EDIT_PASTE
    MENUITEM "&Delete\tDel",IDM_EDIT_DELETE
    MENUITEM "Select &All\tCtrl+A",IDM_EDIT_SELECTALL
    MENUITEM "",,0x00000800
    MENUITEM "&Goto Line\tCtrl+G",IDM_EDIT_GOTO
    MENUITEM "&Find\tCtrl+F",IDM_EDIT_FIND
    MENUITEM "Find &Next\tF3",IDM_EDIT_FINDNEXT
    MENUITEM "Find P&revious\tCtrl+F3",IDM_EDIT_FINDPREVIOUS
    MENUITEM "&Replace\tCtrl+R",IDM_EDIT_REPLACE
    MENUITEM "",,0x00000800
    POPUP "Block",IDM_EDIT_BLOCK
    BEGIN
      MENUITEM "Indent",IDM_EDIT_BLOCKINDENT
      MENUITEM "Outdent",IDM_EDIT_BLOCKOUTDENT
      MENUITEM "Comment",IDM_EDIT_BLOCKCOMMENT
      MENUITEM "Uncomment",IDM_EDIT_BLOCKUNCOMMENT
    END
    POPUP "Bookmark",IDM_EDIT_BOOKMARK
    BEGIN
      MENUITEM "Toggle",IDM_EDIT_BOOKMARKTOGGLE
      MENUITEM "Next",IDM_EDIT_BOOKMARKNEXT
      MENUITEM "Previous",IDM_EDIT_BOOKMARKPREVIOUS
      MENUITEM "Delete",IDM_EDIT_BOOKMARKDELETE
    END
  END
  POPUP "&Help",IDM_HELP
  BEGIN
    MENUITEM "&About",IDM_HELP_ABOUT
  END
END
