From 3d56741b1ef1ea2790607a5575f771d43aae4308 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 16 Jun 2011 17:23:55 -0400 Subject: Use functions for generating unique IDs for markers, indicators, and user lists. --- modules/textadept/keys.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/keys.lua') diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index bdefd37a..ddd237af 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -34,7 +34,7 @@ local function toggle_setting(setting, i) end events.emit('update_ui') -- for updating statusbar end -local RECENT_FILES = 1 +local RECENT_FILES = _SCINTILLA.next_user_list_type() events.connect('user_list_selection', function(type, text) if type == RECENT_FILES then io.open_file(text) end end) local function show_recent_file_list() -- cgit v1.2.3