diff options
author | 2010-06-11 00:24:35 -0400 | |
---|---|---|
committer | 2010-06-11 00:24:35 -0400 | |
commit | 7a4800f05f26067a1cef77e5431256aab4c3d675 (patch) | |
tree | c20a86c11384fd8adb88af3acdd7d7757ebd0555 /modules/textadept/bookmarks.lua | |
parent | c83387e378f72b303d692d951da841b581b3d453 (diff) | |
download | textadept-7a4800f05f26067a1cef77e5431256aab4c3d675.tar.gz textadept-7a4800f05f26067a1cef77e5431256aab4c3d675.zip |
Renamed textadept.events to events, renamed 'handle' and 'add_handler'.
Diffstat (limited to 'modules/textadept/bookmarks.lua')
-rw-r--r-- | modules/textadept/bookmarks.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/bookmarks.lua b/modules/textadept/bookmarks.lua index c94fb256..2b95df1d 100644 --- a/modules/textadept/bookmarks.lua +++ b/modules/textadept/bookmarks.lua @@ -78,5 +78,5 @@ function goto_prev() end if buffer then buffer:marker_set_back(MARK_BOOKMARK, MARK_BOOKMARK_COLOR) end -textadept.events.add_handler('view_new', +events.connect('view_new', function() buffer:marker_set_back(MARK_BOOKMARK, MARK_BOOKMARK_COLOR) end) |