[txmt-dev] Re: Question about PlugIns

Caleb Land caleb.land at gmail.com
Mon Jan 28 16:35:04 UTC 2013


It looks like the plugin needs information about the selection in the editor.

It needs to be able go get the start position/end position and the contents of the selection

It also needs the "TM_SCOPE" so it can detect what kind of file is being edited.  

Thanks for the help.

-Caleb


On Sunday, January 27, 2013 at 3:54 AM, Allan Odgaard wrote:

> On Jan 26, 2013, at 21:43, Caleb Land <caleb.land at gmail.com (mailto:caleb.land at gmail.com)> wrote:
>  
> > […] It uses the result to access:
> >  
> > TM_LINE_NUMBER
> > TM_LINE_INDEX
> >  
>  
>  
> Is all you need the position of the caret?
>  
> _______________________________________________
> textmate-dev mailing list
> textmate-dev at lists.macromates.com (mailto:textmate-dev at lists.macromates.com)
> http://lists.macromates.com/listinfo/textmate-dev
>  
>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate-dev/attachments/20130128/e05ff2d2/attachment.html>


More information about the textmate-dev mailing list