Source Highlight

Plugin Identifier: 20000

Summary

This is a 4D plugin implementation of ​GNU Source Highlight 3.1.6.

srchilite

CODE HIGHLIGHT

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

preferences

CODE GET LANGUAGE LIST

CODE GET LANGUAGE LIST (languages)

languages (ARRAY)

On return, the list of languages the library accepts.

Discussion

CODE Get language folder

folderPath:=CODE Get language folder

folderPath (TEXT)

The path to the folder used by the library.

Discussion

Returns the current resources folder.

CODE Set language folder

success:=CODE Set language folder (folderPath)

folderPath (TEXT)

The path to the folder which contains custom .lang files and a lang.map file.

success (LONGINT)

1 on success, 0 on failure.

Discussion