SourceLanguage.getStyleName

Returns the name of the style with ID style_id defined by this language.

class SourceLanguage
string
getStyleName
(
string styleId
)

Parameters

styleId string

a style ID.

Return Value

Type: string

the name of the style with ID style_id defined by this language or NULL if the style has no name or there is no style with ID style_id defined by this language. The returned string is owned by the language and must not be modified.