ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV 2024 feature!
Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Code editor control
  • Code Editor control overview
  • Create a Code Editor control
  • Code Editor control features
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
Code Editor control overview
The Code Editor control allows end users to write WLanguage code. This means you can use this type of control in an application:
  • to allow developers to run tests,
  • to allow advanced users to enter formulas, run scripts, etc.
  • to customize a feature for a specific client.
Create a Code Editor control
To create a Code Editor control:
  1. On the "Creation" tab, in the "Graphic controls" group, expand "Office" and select "Code Editor".
  2. Click at the desired location to create the control.
Remark: The dimensions of the control are optimized to take up the available space at the specified position. If the control size does not suit you, press Ctrl + Z: the control size will be reset to default.
To view the characteristics of the control, select "Description" in the context menu.
Code Editor control features
The Code Editor control includes a toolbar that provides access to the main functions:
Several keyboard shortcuts are also available:
ShortcutEffect
Ctrl + ASelects the content of the control.
Ctrl + CCopies the selection to the clipboard.
Ctrl + DDuplicates the current line.
Ctrl + OOpens a file containing the WLanguage code to be displayed in the control.
Ctrl + SSaves the contents of the Code Editor control to a file.
Ctrl + VPastes the content of the clipboard.
Ctrl + XCuts the selection and copies it to the clipboard.
Ctrl + mouse wheelChanges the zoom.
Ctrl + ZUndoes the last action.
Ctrl + YRedoes the last action.
Ctrl + / (numeric keypad)Comments.
Ctrl + Shift + / (numeric keypad)Deletes the comment.
F9Runs the code.
F1Opens the help page of the current word.
Minimum version required
  • Version 2024
Comments
Click [Add] to post a comment

Last update: 03/07/2024

Send a report | Local help