Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Gets a sorted list of all file extensions the editor is configured
to handle.
@return: all registered file extensions

        def GetFileExtensions():
    """Gets a sorted list of all file extensions the editor is configured
    to handle.
    @return: all registered file extensions

    """
    extreg = ExtensionRegister()
    return extreg.GetAllExtensions()
        


src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/wx-2.8-msw-unicode/wx/tools/Editra/src/util.py   einstein(Download)
import ed_event
import ed_glob
from syntax.syntax import GetFileExtensions
import dev_tool
 
            #    type of text.
            mime = mimetypes.guess_type(path)
            if GetExtension(path) in GetFileExtensions() or \
               (mime[0] and u'text' in mime[0]):
                good.append(path)