PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Performing a search in the current project
  • Performing a "Find/Replace" in the current project
  • Notes
  • Type of search
  • Search criteria
  • Marking the result of a search
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Find/Replace in the current project
Warning
From version 18, the search in a project or in several projects has evolved. See Search in the editors for more details.
Overview
The "Find/Replace" feature is used to:
  • Find a specified expression in the entire current project.
  • Replace the expressions found in the curernt project by another expression.
Note: a search can also be performed on several projects. See Multi-project search for more details.
How to proceed?

Performing a search in the current project

To perform a search in the current project:
  1. Display the "Find - Replace" pane.
  2. In the "Find" list, enter the expression to find.
  3. Specify the elements in which the search must be performed ("In" list). You have the ability to perform a default search or an advanced search.
  4. Specify the search criteria ("Contains", "Starts with", "Case sensitive", ...).
  5. Click the icon to start the search. If elements are found, the reference of these elements is displayed in the "Find - Replace" pane. To directly access one of the elements found, double-click the reference of the element.
Note: The search does not take into account the characteristics of the analysis or the characteristics of the UML model associated with the project.

Performing a "Find/Replace" in the current project

To perform a "Find/Replace" in the current project:
  1. Display the "Find - Replace" pane.
  2. In the "Find" list, enter the expression to find.
  3. Enter the expression to replace in the "Replace" list.
  4. Specify the elements in which the search must be performed ("In" list). You have the ability to perform a default search or an advanced search.
  5. Specify the search criteria ("Contains", "Starts with", "Case sensitive", ...).
  6. Several icons are used to:
    • Replace the selected expression.
    • Replace the last expression found or the selected expression and find the next expression.
    • Replace the last expression found or the selected expression and find the previous expression.
    • Replace all the expressions found.
Note: The search does not take into account the characteristics of the analysis or the characteristics of the UML model associated with the project.
Notes

Type of search

Several types of search are available:
  • Default search: The default search can be performed either in the source code of the active element, or in the entire active element (source code, code messages, controls, items, dependencies and multilingual options), or in the entire project. The options of the default search are selected in the "Find - Replace" pane.
  • Advanced search: The advanced search enables you to specify the project elements in which the search must be performed, as well as the scope of the search (the options of the element in which the search must be performed). To perform an advanced search, select <Advanced...> in the "In" option of the "Find - Replace" pane.

Search criteria

Regardless of the type of search performed, you can specify a combination of the following search criteria:
  • Contains: the sought expression must contain the specified expression.
  • Starts with: the sought expression starts with the specified expression.
  • Whole word: the sought expression exactly corresponds to the specified expression.
  • Respect the case: the search takes the uppercase and lowercase characters into account.
  • Respect the accented characters: the search takes the accented characters into account.
  • Ignore the comments: the search ignores the comments (code comments starting with //).

Marking the result of a search

You have the ability to mark the result of a search: all the elements found in the code will correspond to a positioning mark.
To mark the result of a search, all you have to do is click before starting the search.
See Positioning marks for more details.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment