From e22d2bf663a4cc4fbeed5730c8f0ec7a446e43c8 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 23 Jun 2011 22:35:20 -0400 Subject: Use string constants for event names. --- modules/textadept/snippets.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/snippets.lua') diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua index 0f4369b3..a3cfa313 100644 --- a/modules/textadept/snippets.lua +++ b/modules/textadept/snippets.lua @@ -419,7 +419,7 @@ _snippet_mt = { local INDIC_HIDDEN = _SCINTILLA.constants.INDIC_HIDDEN if buffer then buffer.indic_style[INDIC_SNIPPET] = INDIC_HIDDEN end -events.connect('view_new', +events.connect(events.VIEW_NEW, function() buffer.indic_style[INDIC_SNIPPET] = INDIC_HIDDEN end) --- -- cgit v1.2.3