gui.getTextEditorLexicalSyntax

Returns the script highlight mode of a text editor.

Prototype

  1. kLexicalSyntax = gui.getTextEditorLexicalSyntax ( hComponent )

Description

Please refer to the predefined lexical syntax constants for more information.


Parameters

hComponent - valid GUI component handle


Return values

kLexicalSyntax - predefined variable, switches between XML, Editor and Engine Lua


Available since ShiVa 2.0