LUA block comment
LUA block comment
zeus (i'm trying version 3.95p) doesn't hilight lua block comments "--[[" since it seems to ignore everything after the line comment "--".
You need to edit the Lua document type and in the Keywords section enter the following values:
Comment Start: --[
Comment End: ]]
Line Comment #1: --
With these values entered the following example code them seems to color the block comment and line comment sections correctly:
Cheers Jussi
Comment Start: --[
Comment End: ]]
Line Comment #1: --
With these values entered the following example code them seems to color the block comment and line comment sections correctly:
Code: Select all
function key_macro()
-- this is a line comment
document = is_document()
--[[
This is a block comment
]]
end
key_macro() -- run the macro
LUA: Arrays are not comment blocks
I'm having an issue in LUA where double nested array references are also matching the end of comment and highlighting as block comment.
For example:
array[myVal[2]]
The ]] gets highlighted.
For example:
array[myVal[2]]
The ]] gets highlighted.
This bug is fixed in the latest Zeus 3.96j patch found here: http://www.zeusedit.com/forum/viewtopic.php?t=1251
Cheers Jussi
Cheers Jussi