PC SOFT

WINDEV的在线文档

  • Overview
  • How do I 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
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Find/Replace in the current project

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 do I 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. Clickto 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.