I searched the faq for 'search' or 'find' but nothing seemed appropriate so I'll post this question to any experienced Textpadders out there. I want to be able to search for the word under the cursor. If I invoke the command SearchFind after selected a piece of text, it automatically imports this text into the Find dialog.
However, I like the Visual Studio default behaviour, where you merely place your cursor on a word, and if you hit Ctrl+F it opens the Find dialog with that word imported.
Any ideas how to do this ??
Thanks folks,
fazl_NOSPAM@geocities.com
(Please remove the _NOSPAM in order to reach me.)
Search for word under cursor
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Andreas
Re: Search for word under cursor
You could create a macro doing the following:
Ctrl Right
Shift Ctrl Left
F3
This should select the word and then search for it.
Assign this macro to a key you like...
Ctrl Right
Shift Ctrl Left
F3
This should select the word and then search for it.
Assign this macro to a key you like...
-
Andreas
Re: Search for word under cursor
Sorry, correction:
it is more reliable to use the Select Word command to select the word under the cursor.
This command is not available in the menus, but you can assign it to a key and then use that key.
it is more reliable to use the Select Word command to select the word under the cursor.
This command is not available in the menus, but you can assign it to a key and then use that key.