Re: Find Dialog Suggestion

From: Jay <robert.jay.go....at.gmail.com>
Date: Thu, 6 May 2010 07:37:44 -0700 (PDT)

Mine does it :)

change key_commands.lua so
-------------------
keys.cf = { function()
  local text = buffer:get_sel_text()
  if #text ~= 0 then
    t.find.find_entry_text = text
  end
  t.find.focus()
end}
-------------------

that should do it

On May 6, 11:25 pm, Ryan Pusztai <rpusz....at.gmail.com> wrote:
> Hi,
>
> Small suggestion about TextAdept's find dialog. Can TA grab the selected
> text or the word under the cursor as the 'Find:' starting text? This is just
> a quick help, but most other editors have done this and I am now used to it.
> Thoughts?
> --
> Regards,
> Ryan
>
> --
> 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 Thu 06 May 2010 - 10:37:44 EDT

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