Bump.
On Sep 14, 2010, at 11:27 AM, Charles Turner wrote:
Hi all-
I'm writing a macro:
selectBlock: copySelectionToFindPboard: findWithOptions:
All I'm doing is getting some text between square brackets, pasting it into the find dialog, and hoping to search with "wrap" enabled.
Trouble is, the findWithOptions: wants to hardwire my find selection:
{ action = findNext; findInProjectIgnoreCase = 0; findInProjectRegularExpression = 0; findString = "[^f100914110843]"; ignoreCase = 0; regularExpression = 0; replaceAllScope = document; wrapAround = 1; }
I tried removing the findString property, but then I lose the wrapAround for some reason. That is, the property is in the macro text, but wrap doesn't work when the macro is executed.
Any idea what I'm doing wrong here?
Thanks!
Charles
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate