aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/command_entry.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/command_entry.lua')
-rw-r--r--modules/textadept/command_entry.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua
index 64f92c1f..800708f2 100644
--- a/modules/textadept/command_entry.lua
+++ b/modules/textadept/command_entry.lua
@@ -164,8 +164,8 @@ local function complete_lua()
if f:find(part) then cmpls[#cmpls + 1] = f end
end
elseif symbol == 'buffer' and op == '.' then
- for p in pairs(_SCINTILLA.properties) do
- if p:find(part) then cmpls[#cmpls + 1] = p end
+ for _, t in ipairs{_SCINTILLA.properties, _SCINTILLA.constants} do
+ for p in pairs(t) do if p:find(part) then cmpls[#cmpls + 1] = p end end
end
end
end