<ui>

  <menubar name="MenuBar">
    <menu name="FileMenu" action="File">
      <menuitem name="FileNewMenu" action="FileNew"/>
      <placeholder name="FileOps_1"/>
      <menuitem name="FileOpenMenu" action="FileOpen"/>
      <placeholder name="FileOps_2"/>
      <separator/>
      <menuitem name="FileSaveMenu" action="FileSave"/>
      <menuitem name="FileSaveAsMenu" action="FileSaveAs"/>
      <placeholder name="FileOps_3"/>
      <menuitem name="FileRevertMenu" action="FileRevert"/>
      <placeholder name="FileOps_4"/>
      <separator/>
      <placeholder name="FileOps_5"/>
      <menuitem name="FilePrintPreviewMenu" action="FilePrintPreview"/>
      <menuitem name="FilePrintMenu" action="FilePrint"/>
      <placeholder name="FileRecentsPlaceholder">
        <separator/>
      </placeholder>
      <separator/>
      <menuitem name="FileCloseMenu" action="FileClose"/>
      <menuitem name="FileQuitMenu" action="FileQuit"/>
    </menu>

    <menu name="EditMenu" action="Edit">
      <menuitem name="EditUndoMenu" action="EditUndo"/>
      <menuitem name="EditRedoMenu" action="EditRedo"/>
      <separator/>
      <menuitem name="EditCutMenu" action="EditCut"/>
      <menuitem name="EditCopyMenu" action="EditCopy"/>
      <menuitem name="EditPasteMenu" action="EditPaste"/>
      <menuitem name="EditDeleteMenu" action="EditDelete"/>
      <placeholder name="EditOps_1" />
      <separator/>
      <placeholder name="EditOps_2" />
      <menuitem name="EditSelectAllMenu" action="EditSelectAll"/>
      <placeholder name="EditOps_3" />
      <separator/>
      <placeholder name="EditOps_4" />
      <separator/>
      <placeholder name="EditOps_5" />
      <separator/>
      <placeholder name="EditOps_6" />
      <separator/>
      <menuitem name="EditPreferencesMenu" action="EditPreferences"/>
    </menu>

    <menu name="ViewMenu" action="View">
      <menuitem name="ViewToolbarMenu" action="ViewToolbar"/>
      <menuitem name="ViewStatusbarMenu" action="ViewStatusbar"/>
      <menuitem name="ViewSidePaneMenu" action="ViewSidePane"/>
      <menuitem name="ViewBottomPaneMenu" action="ViewBottomPane"/>
      <separator/>
      <menuitem name="ViewFullscreenMenu" action="ViewFullscreen"/>
      <separator/>
      <menuitem name="ViewWordWrapMenu" action="ViewWordWrap"/>
      <separator/>
      <placeholder name="ViewOps_1" />
      <separator/>
      <menu name="ViewHighlightModeMenu" action="ViewHighlightMode">
        <placeholder name="LanguagesMenuPlaceholder">
        </placeholder>
      </menu>
    </menu>

    <menu name="SearchMenu" action="Search">
      <menuitem name="SearchFindMenu" action="SearchFind"/>
      <menuitem name="SearchFindNextMenu" action="SearchFindNext"/>
      <menuitem name="SearchFindPreviousMenu" action="SearchFindPrevious"/>
      <placeholder name="SearchOps_1" />
      <separator/>
      <placeholder name="SearchOps_2" />
      <separator/>
      <menuitem name="SearchReplaceMenu" action="SearchReplace"/>
      <placeholder name="SearchOps_3" />
      <separator/>
      <placeholder name="SearchOps_4" />
      <separator/>
      <placeholder name="SearchOps_5" />
      <separator/>
      <placeholder name="SearchOps_6" />
      <separator/>
      <menuitem name="SearchGoToLineMenu" action="SearchGoToLine"/>
      <placeholder name="SearchOps_7" />
      <separator/>
      <placeholder name="SearchOps_8" />
    </menu>

    <menu name="ToolsMenu" action="Tools">
      <placeholder name="ToolsOps_1" />
      <separator/>
      <placeholder name="ToolsOps_2" />
      <separator/>
      <placeholder name="ToolsOps_3" />
      <separator/>
      <placeholder name="ToolsOps_4" />
      <separator/>
      <placeholder name="ToolsOps_5" />
    </menu>

    <placeholder name="ExtraMenu_1" />

    <menu name="DocumentsMenu" action="Documents">
      <menuitem action="FileSaveAll" />
      <menuitem action="FileCloseAll" />
      <placeholder name="DocumentsOps_1" />
      <separator/>
      <placeholder name="DocumentsOps_2" />
      <separator/>
      <placeholder name="DocumentsOps_3" />
      <menuitem action="DocumentsPreviousDocument" />
      <menuitem action="DocumentsNextDocument" />
      <separator/>
      <menuitem action="DocumentsMoveToNewWindow"/>
      <placeholder name="DocumentsListPlaceholder">
        <separator/>
      </placeholder>
    </menu>

    <menu name="HelpMenu" action="Help">
      <menuitem name="HelpContentsMenu" action="HelpContents"/>
      <menuitem name="HelpAboutMenu" action="HelpAbout"/>
    </menu>
  </menubar>

  <toolbar name="ToolBar">
    <toolitem action="FileNew"/>
    <toolitem action="FileSave"/>
    <separator/>
    <toolitem action="FilePrint"/>
    <separator/>
    <toolitem action="EditUndo"/>
    <toolitem action="EditRedo"/>
    <separator/>
    <toolitem action="EditCut"/>
    <toolitem action="EditCopy"/>
    <toolitem action="EditPaste"/>
    <separator/>
    <toolitem action="SearchFind"/>
    <toolitem action="SearchReplace"/>
  </toolbar>

  <toolbar name="FullscreenToolBar">
    <toolitem action="FileNew"/>
    <toolitem action="FileSave"/>
    <separator/>
    <toolitem action="FilePrint"/>
    <separator/>
    <toolitem action="EditUndo"/>
    <toolitem action="EditRedo"/>
    <separator/>
    <toolitem action="EditCut"/>
    <toolitem action="EditCopy"/>
    <toolitem action="EditPaste"/>
    <separator/>
    <toolitem action="SearchFind"/>
    <toolitem action="SearchReplace"/>
    <separator expand="true"/>
    <toolitem action="LeaveFullscreen"/>
  </toolbar>

  <popup name="NotebookPopup" action="NotebookPopupAction">
    <menuitem action="DocumentsMoveToNewWindow"/>
    <separator/>
    <menuitem action="FileSave"/>
    <menuitem action="FileSaveAs"/>
    <separator/>
    <menuitem action="FilePrint"/>
    <separator/>
    <placeholder name="NotebookPupupOps_1"/>
    <separator/>
    <menuitem name="FileCloseMenu" action="FileClose"/>
  </popup>

</ui>
