In Garry's Mod, there is a function call, "umsg.End()". LuaEdit refuses to let me type this string within a function. It changes "End" to "end", causing the code to be incorrect.
Steps to reproduce:
Using LuaEdit 3.0.5 on Windows 7, attempt to type/paste the following:
local function PlayDeathSound( player )
umsg.Start( "PlayDeathSound", player )
hook.Add( "PlayerDeath", "MG_PlayDeathSound", PlayDeathSound )
Result: The third line will be replaced with:
Which is incorrect.