They are using different styles. In Scintilla, primary keywords
uses SCE_LUA_WORD. Try SciTE, I think 'table' uses SCE_LUA_WORD2
while 'table.unpack' uses SCE_LUA_WORD3.
For 'table.unpack', the lexer will match 'table.unpack' but not
'table'. So you need to have a keyword entry for 'table.unpack'.
The intention I guess was to allow different styling for library
functions, and so that the user can uniquely style own libraries
as well by adding to the property lists.
--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia