Re: How to implement custom compile/run commands?

From: mitchell <mforal.n....at.gmail.com>
Date: Wed, 12 May 2010 08:29:16 -0700 (PDT)

Robert,

On May 12, 11:10 am, Robert <ro....at.web.de> wrote:
> On Wed, May 12, 2010 at 4:35 PM, mitchell <mforal.n....at.gmail.com> wrote:
> > Robert,
>
> > > Mitchell, is there a buffer attribute with the current lexer language? I
> > > thought there was one, but I couldn't find it.
>
> > buffer:get_lexer_language() or buffer._lexer
>
> > Mitchell
>
> > Thanks, that was the one.
>
> I just checked, the examples in the wiki for ruby, php etc. use file
> extensions (before I had just seen the first one, java, where it isn't so
> obvious) and the documentation clearly states that file extensions are used,
> so it's not a "bug", sorry.
> What do you think, should this be unified? I'd prefer the lexer, so you
> could have eg. html and htm covered.

No, because compiling xml files could be different from xslt files
even though they use the same lexer, etc.

Mitchell

>
> Robert
>
> --
> You received this message because you are subscribed to the Google Groups "textadept" group.
> To post to this group, send email to textadept.at.googlegroups.com.
> To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/textadept?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "textadept" group.
To post to this group, send email to textadept.at.googlegroups.com.
To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
For more options, visit this group at http://groups.google.com/group/textadept?hl=en.
Received on Wed 12 May 2010 - 11:29:16 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:45:30 EST