language

Type: Integer[4]

Availability: Read or write at run time only

The language property of the JadeTextEdit control contains the programming language used in the text editor and selects the lexical analyzer that is used to calculate text styling and fold points.

The lexical analyzers for all currently Scintilla-supported languages are built into the JadeTextEdit control. However, only a small number of the most-common languages have the necessary text styles and keywords included in the global settings table.

The fully supported languages are represented by the JadeTextEdit class constants listed in the following table.

Constant Value Constant Value
SCLEX_BASH 62 SCLEX_BATCH 12
SCLEX_CONF 17 SCLEX_CPP 3
SCLEX_CSS 38 SCLEX_DIFF 16
SCLEX_HTML 4 SCLEX_JADE 65
SCLEX_JAVA 65539 SCLEX_JAVASCRIPT 131075
SCLEX_MAKEFILE 11 SCLEX_PERL 6
SCLEX_PROPERTIES 9 SCLEX_PS 42
SCLEX_PYTHON 2 SCLEX_TEXT 1 (the default)
SCLEX_VB 8 SCLEX_VBSCRIPT 28
SCLEX_XML 5    

For more details, see "Supported Languages" under "Using the JadeTextEdit Control", earlier in this document.

For details about the full set of languages that are understood by the Scintilla-based SciTE text editor application, see http://scintilla.sourceforge.net/SciTEDoc.html.