Jump to content

Lua syntax highlighting is broken

Featured Replies

Posted

When you are in the code editor window, Lua syntax highlighting works correctly but it does not color comments correctly in the post view:

function test()

--function test()

--[[
function test()
]]

Compare this to C syntax highlighting, which works correctly:

int n;

//int n;

/*
int n;
*/

 

I'll take a look, this appears to be a bug. Thanks.

  • 4 weeks later...
  • Author

Fixed?

function test()

--function test()

--[[
function test()
]]

 

  • 1 month later...
  • Author
function test()

--function test()
--[[
function test()
]]

Fixed!

function test()

--function test()

--[[
function test()
]]

 

Did not realize the highlighting occurs at the time it is posted. That is weird. My first example above is still broken,

Yes, it has to be flagged with the language correctly.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.