Interferon Posted March 11, 2018 Posted March 11, 2018 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; */
bfarber Posted March 12, 2018 Posted March 12, 2018 I'll take a look, this appears to be a bug. Thanks.
bfarber Posted April 9, 2018 Posted April 9, 2018 function test() --function test() --[[ function test() ]]
Interferon Posted June 4, 2018 Author Posted June 4, 2018 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,
bfarber Posted June 4, 2018 Posted June 4, 2018 Yes, it has to be flagged with the language correctly.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.