ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Editors / Code editor
  • Overview
  • How do I make an immediate search?
  • Search in a selection
  • How to do a quick search?
  • How do I access an event in the current element?
  • Finding and accessing an event
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
When you're writing code, you often want to do a quick search in the code.
There are several ways to do this:
  • Use general environmental research (Ctrl F).
    However, this requires using the mouse and setting the search options.
  • Use the immediate search performed on the element present in the code editor (Ctrl F3)
    This requires the "Find replace" pane to be displayed.
  • Use QUICK SEARCH to search the current code (Alt F3).
Note It is also possible to access a WLanguage event of the current element. For more details, see Access to current element events.
How do I make an immediate search?
To perform an immediate search on an element found in the code editor, all you have to do is press Ctrl F3 on an element of code editor (the "Find/Replace" pane being displayed).
Press Ctrl + F3:
  • fills the search control with the word onto which the cursor is positioned.
  • triggers the search.
  • highlights in the code all the occurrences found and positions on the first occurrence.

Search in a selection

The code editor allows you to perform a search (and a replacement) in a selection.
If a selection exceeding one line is active, the search is automatically performed in this selection.
When performing a search in a selection, the searched word is highlighted in the code.
Sought word highlighted
The F3 and Shift F3 keys allow you to navigate from an occurrence to another one via the keyboard.
How to do a quick search?
During a quick search, the string searched for is highlighted in the code in real time as you type. The number of occurrences is displayed.
For a quick search in the code:
  1. Open a project in the editor and go to the code of an element.
  2. Press Alt + F3 to open the quick search box:
  3. To switch to "Find/Replace" mode, press Ctrl + R when the search box has the focus.

    Note: To exit the replacement mode, click on the cross or use the Esc key.
How the search box works
  • You cannot open multiple quick search boxes.
  • The box is closed by clicking the close button or by pressing Esc.
  • You can navigate between results by clicking the buttons or by pressing F3 or Shift + F3.
  • If a single line is selected when the search box is opened, the selection is automatically pasted into the search box and the search is launched.
  • The search is automatically launched when the user enters the search box.
  • The following filter options are available:
    • Case and accent sensitive.
    • Whole word search.
    • Search using regular expressions.
  • To replace an element:
    • Press Ctrl + R to switch to replace mode. The cursor automatically appears in the input field for the replacement text.
    • Press Alt + R () to replace the current element and select the next.
    • Press Enter () to replace all the elements found.
  • Press Ctrl + F () to open the search pane.
How do I access an event in the current element?

Finding and accessing an event

The code editor lets you search for and access an event in the current element: window, page, status, etc.
  1. On the "Code" tab, in the "Navigation" group, type the event you want to find.
    Search an event
    Note: To display the event list automatically, use the Alt + C key combination.
  2. Select the desired event in the list. It is automatically displayed in the code editor.
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/10/2025

Send a report | Local help