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