From 1e9a3d23740844003d6ef06f7a92ccbba11c71f8 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 26 Aug 2013 22:39:36 -0400 Subject: Forgot to update some documentation with newly renamed `LEXER_LOADED` event. --- doc/09_Themes.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/09_Themes.md') diff --git a/doc/09_Themes.md b/doc/09_Themes.md index 0fa9f5d3..a940f4c9 100644 --- a/doc/09_Themes.md +++ b/doc/09_Themes.md @@ -75,10 +75,10 @@ managing more changes is probably easier with the latter. ### Language Textadept also allows you to customize themes per-language through the -`events.LANGUAGE_MODULE_LOADED` event. For example, changing the color of -functions in Java from orange to black in the "light" theme looks like this: +`events.LEXER_LOADED` event. For example, changing the color of functions in +Java from orange to black in the "light" theme looks like this: - events.connect(events.LANGUAGE_MODULE_LOADED, function(lang) + events.connect(events.LEXER_LOADED, function(lang) if lang == 'java' then buffer.property['style.function'] = 'fore:%(color.light_black)' end -- cgit v1.2.3