Changeset 2515


Ignore:
Timestamp:
Jul 22, 2012, 4:37:55 PM (13 years ago)
Author:
Andreas Schnellbacher
Message:
  • Improved notification for checked mode files. Partly fixes #3.
Location:
trunk/src/netlabs/macros
Files:
2 edited

Legend:

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

    r2513 r2515  
    24722472   i = i + 1; call SetAVar( 'mid_checkmodefilesnow', i); call SetAVar( 'mtxt_checkmodefilesnow', 'Check mode files ~now for mode #CURMODE#');
    24732473   buildmenuitem menuname, mid, i, GetAVar( 'mtxt_checkmodefilesnow'),                                   -- Check mode files now for mode CURMODE
    2474                                    'ActivateHighlighting' ||
     2474                                   'CheckModeFiles' ||
    24752475                                   \1'Check for altered .hil/.ini files for current mode now',
    24762476                                   MIS_TEXT, 0
  • TabularUnified trunk/src/netlabs/macros/stdcmds.e

    r2444 r2515  
    932932
    933933; ---------------------------------------------------------------------------
     934defc CheckModeFiles
     935   universal nepmd_hini
     936   parse arg Mode
     937   Mode = upcase( strip( Mode))
     938   if Mode = '' then
     939      Mode = GetMode()
     940   endif
     941   call NepmdActivateHighlight( '', Mode, '', nepmd_hini)
     942
     943   Title = 'Checked mode files'
     944   Text = ''
     945   Text = Text || 'The mode files for the mode 'Mode' were checked and the highlighting'
     946   Text = Text || ' file was rebuilt and reloaded, if required.'
     947   Style = MB_OK+MB_INFORMATION+MB_MOVEABLE
     948   ret = winmessagebox( Title,
     949                        Text,
     950                        Style)
     951
     952; ---------------------------------------------------------------------------
    934953defc ActivateFile
    935954   fid = arg(1)
Note: See TracChangeset for help on using the changeset viewer.