Re: How to implement custom tools

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

Hi Russell,

On May 11, 5:44 pm, phayz <russelldicken....at.gmail.com> wrote:
> I want to implement a custom Tool menu item which searches the current
> buffer for the string 'FIXME', with the output of the search (grep ?)
> going to a message buffer. My hope is that I could then double click
> on the individual lines in the message buffer, which would then take
> me to the matching line.
>
> I understand that to achieve a similar result with an incremental
> 'Find' but the above option is still attractive to me. Yes, I have low
> standards in what is attractive and what is not.
>
> Is there some piece of Textadept's code that I could/should use an
> example? Perhaps the 'run' and 'compile' code?

The 'find in files' in core/ext/find.lua may be of some help. At least
it puts double-clickable file names in a separate buffer.

Mitchell

>
> Regards,
>
> Russell Dickenson
>
> --
> 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 - 23:29:18 EDT

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