On Tue, Jul 27, 2010 at 9:51 AM, Brian Theado <[email protected]> wrote:

> Any pointers on how I can automatically detect the proper extension of
> the current node?

language = g.findLanguageDirectives(c,p)
ext = g.app.language_extension_dict.get(language)
print(language,ext)

HTH.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to