Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#7 Over-zealous code completion causes bugs

Programming
closed-fixed
Editor (2)
5
2012-02-01
2012-01-09
Anonymous
No

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 )
umsg.End()
end
hook.Add( "PlayerDeath", "MG_PlayDeathSound", PlayDeathSound )

Result: The third line will be replaced with:

umsg.end()

Which is incorrect.

Discussion

    • labels: --> Editor
    • milestone: --> Programming
    • assigned_to: nobody --> jfgoulet
     
  • We've successfully reproduced the issue on our side and found the cause of the issue. This will be fixed in our next released.

     
    • status: open --> closed-fixed
     
  • Fixed in 3.0.8