aboutsummaryrefslogtreecommitdiff
path: root/doc/09_Themes.md
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-08-26 22:39:36 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-08-26 22:39:36 -0400
commit1e9a3d23740844003d6ef06f7a92ccbba11c71f8 (patch)
treeeee543627250334ce74e715e64705d15704b0d60 /doc/09_Themes.md
parent92a1e1cae3029a3c4dde56c8dcc5d212fdc11e26 (diff)
downloadtextadept-1e9a3d23740844003d6ef06f7a92ccbba11c71f8.tar.gz
textadept-1e9a3d23740844003d6ef06f7a92ccbba11c71f8.zip
Forgot to update some documentation with newly renamed `LEXER_LOADED` event.
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