diff options
author | 2011-06-16 17:23:55 -0400 | |
---|---|---|
committer | 2011-06-16 17:23:55 -0400 | |
commit | 3d56741b1ef1ea2790607a5575f771d43aae4308 (patch) | |
tree | af4da86dec710546924e7ea7b893591989e785d0 /modules/textadept/keys.lua | |
parent | 9a61370b7d739b51228395b304915b2c4cc2e077 (diff) | |
download | textadept-3d56741b1ef1ea2790607a5575f771d43aae4308.tar.gz textadept-3d56741b1ef1ea2790607a5575f771d43aae4308.zip |
Use functions for generating unique IDs for markers, indicators, and user lists.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r-- | modules/textadept/keys.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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() |