ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV 2024 feature!
Help / WLanguage / WLanguage functions / Controls, pages and windows / 
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
WLanguage procedure called by CodeEditorSearch
WLanguage procedure ("callback") called by CodeEditorSearch for each element found. This procedure is used to manipulate the element found.
Example
CODEEDT_Example = [
	HRead("file", 1)
	HReadFirst("file", "item")
]
CodeEditorSearch(CODEEDT_Example, "HRead[a-zA-Z]*", byRegularExpression, CodeEditorSearch_Callback)
	INTERNAL PROCEDURE CodeEditorSearch_Callback(Position int, Length int)
		Trace(Position + " -> " + Length)
	END
Syntax
CodeEditorSearch_Callback(<Position> , <Length>)
<Position>: Integer
Position of the first character of the element found.
<Length>: Integer
Length of the element found.
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/07/2024

Send a report | Local help