[TxMt] Find All highlighting

6 views
Skip to first unread message

mwean

unread,
Mar 12, 2012, 11:47:02 AM3/12/12
to text...@lists.macromates.com

I just created a macro (manually) to find all instances of the current word
using these commands:

(
{ command = 'selectWord:'; },
{ command = 'copySelectionToFindPboard:'; },
{ command = 'findAll:'; },
)

When I perform the actions manually with ctrl-w, cmd-e, cmd-opt-f, all
instances of the word flash yellow, but this doesn't happen when using the
macro. Am I using the wrong commands, or is it not possible to get the same
behavior? Thanks,

- Matt
--
View this message in context: http://old.nabble.com/Find-All-highlighting-tp33487518p33487518.html
Sent from the textmate users mailing list archive at Nabble.com.


_______________________________________________
textmate mailing list
text...@lists.macromates.com
http://lists.macromates.com/listinfo/textmate

Allan Odgaard

unread,
Mar 16, 2012, 2:13:09 AM3/16/12
to TextMate users
On 12/03/2012, at 22.47, mwean wrote:

> […] the word flash yellow, but this doesn't happen when using the macro.

The “flash” is only done when the find is a result of a direct user action as many macros do “find next” as part of their implementation, and for these we do not want the flashes or the tool tips to show.

Reply all
Reply to author
Forward
0 new messages