# SciTE settings for Lua files # # Do NOT edit this file! # If there is someting here you want to change, go to Options > Open User properties, # copy the setting there and change it. If you instead want to delete a setting, just # write an analogous line in the User properties that sets it to blank. # file.patterns.lua=*.lua lexer.$(file.patterns.lua)=lua word.chars.lua=$(chars.alpha)$(chars.numeric)$(chars.accented)_% word.characters.$(file.patterns.lua)=$(word.chars.lua) keywordclass.lua=and break do else elseif end false for function if \ in local nil not or repeat return then true until while keywords.$(file.patterns.lua)=$(keywordclass.lua) keywordclass2.lua=_VERSION assert collectgarbage dofile error gcinfo loadfile loadstring \ print rawget rawset require tonumber tostring type unpack keywordclass2.lua4=_ALERT _ERRORMESSAGE _INPUT _PROMPT _OUTPUT \ _STDERR _STDIN _STDOUT call dostring foreach foreachi getn globals newtype \ sort tinsert tremove keywordclass3.lua4=abs acos asin atan atan2 ceil cos deg exp \ floor format frexp gsub ldexp log log10 max min mod rad random randomseed \ sin sqrt strbyte strchar strfind strlen strlower strrep strsub strupper tan keywordclass4.lua4=openfile closefile readfrom writeto appendto \ remove rename flush seek tmpfile tmpname read write \ clock date difftime execute exit getenv setlocale time keywordclass2.lua5=_G getfenv getmetatable ipairs loadlib next pairs pcall \ rawequal setfenv setmetatable xpcall \ string table math coroutine io os debug \ load module select keywordclass3.lua5=string.byte string.char string.dump string.find string.len \ string.lower string.rep string.sub string.upper string.format string.gfind string.gsub \ table.concat table.foreach table.foreachi table.getn table.sort table.insert table.remove table.setn \ math.abs math.acos math.asin math.atan math.atan2 math.ceil math.cos math.deg math.exp \ math.floor math.frexp math.ldexp math.log math.log10 math.max math.min math.mod \ math.pi math.pow math.rad math.random math.randomseed math.sin math.sqrt math.tan \ string.gmatch string.match string.reverse table.maxn \ math.cosh math.fmod math.modf math.sinh math.tanh math.huge keywordclass4.lua5=coroutine.create coroutine.resume coroutine.status \ coroutine.wrap coroutine.yield \ io.close io.flush io.input io.lines io.open io.output io.read io.tmpfile io.type io.write \ io.stdin io.stdout io.stderr \ os.clock os.date os.difftime os.execute os.exit os.getenv os.remove os.rename \ os.setlocale os.time os.tmpname \ coroutine.running package.cpath package.loaded package.loadlib package.path \ package.preload package.seeall io.popen keywords2.$(file.patterns.lua)=$(keywordclass2.lua) $(keywordclass2.lua4) $(keywordclass2.lua5) keywords3.$(file.patterns.lua)=$(keywordclass3.lua4) $(keywordclass3.lua5) keywords4.$(file.patterns.lua)=$(keywordclass4.lua4) $(keywordclass4.lua5) statement.indent.$(file.patterns.lua)=5 do else function then statement.end.$(file.patterns.lua)=5 end #statement.lookback.$(file.patterns.lua)=20 indent.maintain.$(file.patterns.lua)=1 comment.block.lua=--~ comment.block.at.line.start.lua=1 # Lua styles # White space: Visible only in View Whitespace mode (or if it has a back colour) style.lua.0=$(s4ahk.style.default) # Block comment (Lua 5.0) style.lua.1=$(s4ahk.style.comment.block) # Line comment style.lua.2=$(s4ahk.style.comment.line) # Doc comment -- Not used in Lua (yet?) style.lua.3=$(s4ahk.style.comment.block) # Number style.lua.4=$(s4ahk.style.number) # Keyword style.lua.5=$(s4ahk.style.wordop) # (Double quoted) String style.lua.6=$(s4ahk.style.string) # Character (Single quoted string) style.lua.7=$(s4ahk.style.string) # Literal string style.lua.8=$(s4ahk.style.string),back:#E0FFFF,bold # Preprocessor (obsolete in Lua 4.0 and up) style.lua.9=$(s4ahk.style.directive) # Operators style.lua.10=$(s4ahk.style.operator) # Identifier (everything else...) style.lua.11=$(s4ahk.style.var) # End of line where string is not closed style.lua.12=$(s4ahk.style.error) # Other keywords (bozo test colors, but toned down ;) style.lua.13=$(style.lua.5),back:#F5FFF5 style.lua.14=$(style.lua.5),back:#F5F5FF style.lua.15=$(style.lua.5),back:#FFF5F5 style.lua.16=$(style.lua.5),back:#FFF5FF style.lua.17=$(style.lua.5),back:#FFFFF5 style.lua.18=$(style.lua.5),back:#FFA0A0 style.lua.19=$(style.lua.5),back:#FFF5F5 # Braces are only matched in operator style braces.lua.style=10