ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Editors / Project editor / Environment
  • Overview
  • How to?
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Warning
From version 18, the search in a project or in several projects has evolved. For more details, see Search in the editors.
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.
Remark: a search can also be performed on several projects. For more details, see Multi-project search.
How to?

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 element reference.
Remark: 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.
Remark: 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 searched expression must contain the specified expression.
  • Starts with: the searched expression starts with the specified expression.
  • Whole word: the searched expression corresponds exactly to the specified expression.
  • Case sensitive: the search takes the uppercase and lowercase characters into account.
  • Respect the accented characters: the search takes the accented characters into account.
  • Ignore 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 set a mark on a search result, simply click the icon before starting the search.
For more details on marks, see Positioning marks.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/14/2023

Send a report | Local help