gui.setTextEditorLexicalSyntax

Switches script syntax highlighting between the different languages and APIs.

Prototype

  1. bOk = gui.setTextEditorLexicalSyntax ( hComponent, kLexicalSyntax )

Description

Please refer to the predefined lexical syntax variables for more info.


Parameters

hComponent - valid GUI component handle
kLexicalSyntax - predefined syntax constant


Return values

bOk - true on success


Available since ShiVa 2.0