SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Did you know? => Topic started by: Lisa on January 08, 2008, 04:04:16 PM

Title: Use the Word at the Cursor as the Search String
Post by: Lisa on January 08, 2008, 04:04:16 PM
When performing a search or replace with the Find and Replace tool window, SlickEdit can use the word at the cursor as the initial search/replace string. For example, press Ctrl+F and the word closest to the cursor is displayed in the Search for field of the Find and Replace tool window. To enable this option, from the main menu, click Tools > Options > General, then select the Search tab and select the option Word at cursor.

Note that if the option Selected text (if exists) is checked, the currently selected text is used as the search/replace string instead. In this case, the word at the cursor is only used if there is no current selection.
Title: Re: Use the Word at the Cursor as the Search String
Post by: tcolgan001 on December 16, 2009, 08:37:38 PM
Update (version 14.0.2.2):

From main menu select "tools\options"

From tree select "Editing\Search"

Set "Initialize search string" to "Word at Cursor".


Title: Re: Use the Word at the Cursor as the Search String
Post by: mrfirmware on March 24, 2010, 01:15:26 PM
Doesn't seem to work for Emacs's incremental search.
Title: Re: Use the Word at the Cursor as the Search String
Post by: Bob Lee on May 19, 2010, 03:02:49 PM
If I hit Ctrl-F, SE selects the letter following the cursor effectively creating a selection if there is none, or extending a selection I have made.  Is there anyway to turn that off.  It requires that I use the mouse to do almost all of my searches and replacements.