Ignore:
Timestamp:
Sep 1, 2003, 4:58:52 AM (22 years ago)
Author:
Andreas Schnellbacher
Message:
  • Added some more missing NODISMISS consts.
  • Added a sub menu with all search options (doesn't work yet, but useful for info).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/netlabs/macros/stdmenu.e

    r1122 r1139  
    55* Copyright (c) Netlabs EPM Distribution Project 2002
    66*
    7 * $Id: stdmenu.e,v 1.18 2003-08-31 20:04:39 aschn Exp $
     7* $Id: stdmenu.e,v 1.19 2003-09-01 02:58:52 aschn Exp $
    88*
    99* ===========================================================================
     
    244244      buildmenuitem menuname, 3, 300, SEARCH_MENU__MSG\9 || CTRL_KEY__MSG'+S',      'SEARCHDLG'SEARCH_MENUP__MSG,   0, mpfrom2short(HP_SEARCH_SEARCH, 0)
    245245      buildmenuitem menuname, 3, 301, \0,                           '',            4, 0
     246      buildmenuitem menuname, 3, 360, 'Search options',                             ''\1'View/change default search options', 17, 0
     247         buildmenuitem menuname, 3, 361, '+'\9'down: top to bottom*',               '', 1, 32
     248         buildmenuitem menuname, 3, 362, '-'\9'up: bottom to top',                  '', 1, 32
     249         buildmenuitem menuname, 3, 363, \0,                        '',            4, 0
     250         buildmenuitem menuname, 3, 364, 'F'\9'foreward: left to right*',           '', 1, 32
     251         buildmenuitem menuname, 3, 365, 'R'\9'reverse: right to left',             '', 1, 32
     252         buildmenuitem menuname, 3, 366, \0,                        '',            4, 0
     253         buildmenuitem menuname, 3, 367, ''\9'start at cursor*',                    '', 1, 32
     254         buildmenuitem menuname, 3, 368, 'B'\9'start at bottom of file',       '', 1, 32
     255         buildmenuitem menuname, 3, 369, 'T'\9'start at top of file',          '', 1, 32
     256         buildmenuitem menuname, 3, 370, \0,                        '',            4, 0
     257         buildmenuitem menuname, 3, 371, 'A'\9'all: in the whole file*',            '', 1, 32
     258         buildmenuitem menuname, 3, 372, 'M'\9'mark: in mark only',                 '', 1, 32
     259         buildmenuitem menuname, 3, 373, \0,                        '',            4, 0
     260         buildmenuitem menuname, 3, 374, 'E'\9'case-sensitive',                     '', 1, 32
     261         buildmenuitem menuname, 3, 375, 'C'\9'ignore case*',                       '', 1, 32
     262         buildmenuitem menuname, 3, 376, \0,                        '',            4, 0
     263         buildmenuitem menuname, 3, 377, ''\9'including search*',                   '', 1, 32
     264         buildmenuitem menuname, 3, 378, '^'\9'excluding search',                   '', 1, 32
     265         buildmenuitem menuname, 3, 379, \0,                        '',            4, 0
     266         buildmenuitem menuname, 3, 380, ''\9'text*',                               '', 1, 32
     267         buildmenuitem menuname, 3, 381, 'G'\9'grep',                               '', 1, 32
     268         buildmenuitem menuname, 3, 382, 'X'\9'egrep',                              '', 1, 32
     269         buildmenuitem menuname, 3, 383, 'W'\9'words',                              '', 1, 32
     270         buildmenuitem menuname, 3, 384, \0,                        '',            4, 0
     271         buildmenuitem menuname, 3, 385, ''\9'change: replace sets case*',          '', 1, 32
     272         buildmenuitem menuname, 3, 386, 'K'\9'change: keep case of search',        '', 1, 32
     273         buildmenuitem menuname, 3, 387, \0,                        '',            4, 0
     274         buildmenuitem menuname, 3, 388, ''\9'change next only*',                   '', 1, 32
     275         buildmenuitem menuname, 3, 389, '*'\9'change all',                         '', 1, 32
     276         buildmenuitem menuname, 3, 390, \0,                        '',            4, 0
     277         buildmenuitem menuname, 3, 391, ''\9'Set as new default!',                 '', 1 + 32768, 0
     278
     279      buildmenuitem menuname, 3, 353, \0,                           '',            4, 0
    246280      buildmenuitem menuname, 3, 302, FIND_NEXT_MENU__MSG\9 || CTRL_KEY__MSG'+F',   'SEARCHDLG F'FIND_NEXT_MENUP__MSG, 0, mpfrom2short(HP_SEARCH_FIND, 0)
    247281      buildmenuitem menuname, 3, 303, CHANGE_NEXT_MENU__MSG\9 || CTRL_KEY__MSG'+C', 'SEARCHDLG C'CHANGE_NEXT_MENUP__MSG, 0, mpfrom2short(HP_SEARCH_CHANGE, 0)
     
    363397compile endif
    364398compile if RING_OPTIONAL
    365          buildmenuitem menuname, 4, 443, RINGENABLED_MENU__MSG,    'ring_toggle'RINGENABLED_MENUP__MSG,  RING__ATTRIB, mpfrom2short(HP_OPTIONS_RINGENABLE, 0)
     399         buildmenuitem menuname, 4, 443, RINGENABLED_MENU__MSG,    'ring_toggle'RINGENABLED_MENUP__MSG,  RING__ATTRIB, mpfrom2short(HP_OPTIONS_RINGENABLE, NODISMISS)
    366400compile endif
    367401compile if WANT_STACK_CMDS = 'SWITCH'
    368          buildmenuitem menuname, 4, 445, STACKCMDS_MENU__MSG,      'stack_toggle'STACKCMDS_MENUP__MSG,  STACK__ATTRIB, mpfrom2short(HP_OPTIONS_STACKCMDS, 0)
     402         buildmenuitem menuname, 4, 445, STACKCMDS_MENU__MSG,      'stack_toggle'STACKCMDS_MENUP__MSG,  STACK__ATTRIB, mpfrom2short(HP_OPTIONS_STACKCMDS, NODISMISS)
    369403compile endif
    370404compile if BLOCK_ACTIONBAR_ACCELERATORS = 'SWITCH'
     
    430464compile if defined(WANT_ASCHN_MENU_ITEMS)
    431465 compile if WANT_ASCHN_MENU_ITEMS
     466      buildmenuitem menuname, COMMAND_MENU_ID, 105, \0,                      '',            4, 0
     467      buildmenuitem menuname, COMMAND_MENU_ID, 106, 'GFC current file'         , 'GfcCurrentFile'\1, 0, 0
    432468      buildmenuitem menuname, COMMAND_MENU_ID, 110, \0,                      '',            4, 0
    433469-- Todo: replace all strings and add consts for menu styles ------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.