Lua:unregisterLuaFunctionHighlight

From Cheat Engine
Revision as of 23:56, 26 June 2026 by Leunsel (talk | contribs) (Examples: Syntax Highlight.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<> Lua API Reference

function unregisterLuaFunctionHighlight(functionname) : void

Removes a Lua function name from syntax highlighting.

After unregistering the name, the Lua highlighter will no longer show the given function name as a function keyword.

Function Parameters[edit]

Parameter Type Description
functionname String The function name to remove from being shown as a function keyword in the Lua highlighter.

Returns[edit]

void — This function does not return any value.

Examples[edit]

1 registerLuaFunctionHighlight("myCustomFunction")
2 
3 -- Later, remove the custom highlighting again
4 unregisterLuaFunctionHighlight("myCustomFunction")

Main Pages

Core Lua documentation entry points

Lua
Script Engine