About half my messages to the list seem to disappear...
Okay, so here's a codeless language module for Lua. It does have the
bug that it won't match functions that are indented. Still it may be
useful...
— F
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BBEditDocumentType</key>
<string>CodelessLanguageModule</string>
<key>BBLMColorsSyntax</key>
<true />
<key>BBLMIsCaseSensitive</key>
<true />
<key>BBLMKeywordList</key>
<array>
<string>break</string>
<string>do</string>
<string>else</string>
<string>for</string>
<string>if</string>
<string>elseif</string>
<string>return</string>
<string>then</string>
<string>repeat</string>
<string>while</string>
<string>until</string>
<string>end</string>
<string>function</string>
<string>local</string>
<string>in</string>
<string>nil</string>
<string>and</string>
<string>or</string>
<string>ipairs</string>
<string>pairs</string>
</array>
<key>BBLMLanguageCode</key>
<string>Lua0</string>
<key>BBLMLanguageDisplayName</key>
<string>Lua</string>
<key>BBLMScansFunctions</key>
<true />
<key>BBLMSuffixMap</key>
<array>
<dict>
<key>BBLMLanguageSuffix</key>
<string>.lua</string>
<key>BBLMIsSourceKind</key>
<true />
</dict>
</array>
<key>Language Features</key>
<dict>
<key>Identifier and Keyword Character Class</key>
<string>0-9A-Za-z_</string>
<key>Comment Pattern</key>
<string>(-{2,}[^\[].*)|((?s)--\[\[.*?\]\])</string>
<key>String Pattern</key>
<string>("(\\"|.)*?")|('(\\'|.)*?')</string>
<key>Function Pattern</key>
<!-- <string>(?s)^([ \t]*)function\s+(?P<function_name>[A-Za-
z_:.]+).+?\r\1end\b</string> -->
<string>(?s)^function\s+(?P<function_name>[A-Za-z_:.]+).+?
\rend\b</string>
</dict>
</dict>
</plist>
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>