Plugin Identifier: 20000
Summary
This is a 4D plugin implementation of GNU Source Highlight 3.1.6.
CODE HIGHLIGHT (inCode; outCode; inLanguage; inFormat)
inCode (TEXT)
The source code to highlight.
outCode (TEXT)
The processed code in the requested format.
inLanguage (TEXT)
The language of the source code. C++ by default.
inFormat (TEXT)
The output format. HTML by default.
Discussion
CODE GET LANGUAGE LIST (languages)
languages (ARRAY)
On return, the list of languages the library accepts.
Discussion
folderPath:=CODE Get language folder
The path to the folder used by the library.folderPath
(TEXT)
Discussion
Returns the current resources folder.
success:=CODE Set language folder (folderPath)
folderPath (TEXT)
The path to the folder which contains custom .lang files and a lang.map file.
1 on success, 0 on failure.success
(LONGINT)
Discussion