Changeset 1500

Show
Ignore:
Timestamp:
07/21/08 20:33:18 (7 weeks ago)
Author:
rob
Message:

Fixed Stani's fold explorer to work with Fundamental mode again.
* removed some old cruft from worksWithMajorMode due to a long-ago refactoring of Fundamental mode

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/peppy/plugins/function_menu.py

    r1049 r1500  
    6464    @classmethod 
    6565    def worksWithMajorMode(self, mode): 
    66         return hasattr(mode, 'stc_viewer_class') and hasattr(mode.stc_viewer_class, 'getFoldHierarchy') 
     66        return hasattr(mode, 'getFoldHierarchy') 
    6767 
    6868    def __init__(self, major, parent):