FindSettings

FindSettings

is a global option that specifies settings for the Find dialog box.

Details

  • The typical usage is FindSettings->{opt1->val1,opt2->val2,}.
  • The following options may be specified:
  • "FindBoxes"RowBox[{""}]stores the value of the last box that was searched for using the Find dialog box
    "FindHistory"{}history of values used in the search input field of the Find dialog box
    "FindString"""stores the value of the last string that was searched for using the Find dialog box
    "IgnoreCase"Falsespecifies whether a search carried out using the Find command is case-sensitive
    "ReplaceBoxes"RowBox[{""}]stores the value of the box to be inserted in place of the highlighted text
    "ReplaceHistory"{}history of values used in the replace input field of the Find dialog box
    "ReplaceString"""stores the value of the string to be inserted in place of highlighted text
    "WholeWord"Falsewhether to require that the text searched for appear as a word
    "WindowMargins"Automaticspecifies the size of margins around the Find dialog box
    "Wraparound"Truespecifies whether a search should be continued at the start of a notebook when the search reaches the end
  • "FindString" is usually set by typing text into the Search for: field of the Find dialog box, which is accessed by choosing Edit Find menu item.
  • You can search for any occurrence of a special character by setting "FindString" to the full name of the character. For example, to search for the next occurrence of the Greek letter , you can set "FindString"->"[Alpha]".
  • You can search for typeset expressions by specifying the box structure with "FindBoxes". For example, to search for the next occurrence of , you can set "FindBoxes"->RowBox[{SuperscriptBox["x","2"],"+",SuperscriptBox["y","2"]}].
  • You must perform a search using one of the buttons in the Find dialog box for the value of "FindString" to be updated.
  • "ReplaceString" is usually set by typing text into the Replace with: field of the Find dialog box.
  • You must perform a search using one of the buttons in the Find dialog box for the value of "ReplaceString" to be updated.
  • You can also replace text with a special character by setting "ReplaceString" to the full name of the character. For example, to replace the selected text by the Greek letter , you can use the setting "ReplaceString"->"[Alpha]".
  • You can replace text with a typeset expressions by specifying the box structure with "ReplaceBoxes".
  • "IgnoreCase" is usually set using the Ignore case checkbox of the Find dialog box.
  • With the default setting "IgnoreCase"->True, searches are case-insensitive.
  • With the setting "IgnoreCase"->False, searches are case-sensitive.
  • "Wraparound" is usually set using the Wrap around checkbox of the Find dialog box.
  • With the default setting "Wraparound"->True, a search that reaches the end of a notebook is continued at the start of that notebook.
  • With the setting "Wraparound"->False, a search terminates when it reaches the end of a notebook.

Examples

Basic Examples  (2)

To modify the values in FindSettings, use SetOptions:

This programmatically sets the value of the "IgnoreCase" option in FindSettings:

Wolfram Research (1999), FindSettings, Wolfram Language function, https://reference.wolfram.com/language/ref/FindSettings.html.

Text

Wolfram Research (1999), FindSettings, Wolfram Language function, https://reference.wolfram.com/language/ref/FindSettings.html.

CMS

Wolfram Language. 1999. "FindSettings." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FindSettings.html.

APA

Wolfram Language. (1999). FindSettings. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FindSettings.html

BibTeX

@misc{reference.wolfram_2024_findsettings, author="Wolfram Research", title="{FindSettings}", year="1999", howpublished="\url{https://reference.wolfram.com/language/ref/FindSettings.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_findsettings, organization={Wolfram Research}, title={FindSettings}, year={1999}, url={https://reference.wolfram.com/language/ref/FindSettings.html}, note=[Accessed: 22-November-2024 ]}