aboutsummaryrefslogtreecommitdiff
path: root/doc/09_Themes.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/09_Themes.md')
-rw-r--r--doc/09_Themes.md6
1 files changed, 3 insertions, 3 deletions
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