Changeset 3538


Ignore:
Timestamp:
Mar 19, 2019, 9:09:24 PM (6 years ago)
Author:
Andreas Schnellbacher
Message:
  • Added unlink of TAGS.EX after calling Tags_Supported, if it wasn't linked.
File:
1 edited

Legend:

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

    r3532 r3538  
    41874187
    41884188defc menuinit_tags
    4189    'LinkVerify tags'  -- Remains linked afterwards
    4190    on = Tags_Supported( GetMode())
     4189   -- Tags_Supported is defined in TAGS.E.
     4190   fLinkedBefore = 0
     4191   if linked( 'tags') then
     4192      fLinkedBefore = 1
     4193   else
     4194      'Link tags'
     4195   endif
     4196   if isadefproc( 'Tags_Supported') then
     4197      on = Tags_Supported( GetMode())
     4198   else
     4199      on = 1
     4200   endif
     4201   if not fLinkedBefore then
     4202      'UnLink tags'
     4203   endif
    41914204   SetMenuAttribute( GetAVar( 'mid_tagfindcurrent'), MIA_DISABLED, on)
    41924205   SetMenuAttribute( GetAVar( 'mid_tagfindall'),     MIA_DISABLED, on)
Note: See TracChangeset for help on using the changeset viewer.